sdp.h (270821) | sdp.h (299179) |
---|---|
1#ifndef _SDP_H_ 2#define _SDP_H_ 3 4#include "opt_ddb.h" 5#include "opt_inet.h" 6#include "opt_ofed.h" 7 8#include <sys/param.h> --- 52 unchanged lines hidden (view full) --- 61 62#undef LIST_HEAD 63/* From sys/queue.h */ 64#define LIST_HEAD(name, type) \ 65struct name { \ 66 struct type *lh_first; /* first element */ \ 67} 68 | 1#ifndef _SDP_H_ 2#define _SDP_H_ 3 4#include "opt_ddb.h" 5#include "opt_inet.h" 6#include "opt_ofed.h" 7 8#include <sys/param.h> --- 52 unchanged lines hidden (view full) --- 61 62#undef LIST_HEAD 63/* From sys/queue.h */ 64#define LIST_HEAD(name, type) \ 65struct name { \ 66 struct type *lh_first; /* first element */ \ 67} 68 |
69/* Interval between sucessive polls in the Tx routine when polling is used | 69/* Interval between successive polls in the Tx routine when polling is used |
70 instead of interrupts (in per-core Tx rings) - should be power of 2 */ 71#define SDP_TX_POLL_MODER 16 72#define SDP_TX_POLL_TIMEOUT (HZ / 20) 73#define SDP_NAGLE_TIMEOUT (HZ / 10) 74 75#define SDP_SRCAVAIL_CANCEL_TIMEOUT (HZ * 5) 76#define SDP_SRCAVAIL_ADV_TIMEOUT (1 * HZ) 77#define SDP_SRCAVAIL_PAYLOAD_LEN 1 --- 341 unchanged lines hidden (view full) --- 419 unsigned long nagle_last_unacked; /* mseq of lastest unacked packet */ 420 421 atomic_t remote_credits; 422#define remote_credits(ssk) (atomic_read(&ssk->remote_credits)) 423 int poll_cq; 424 425 /* SDP slow start */ 426 int recv_request_head; /* mark the rx_head when the resize request | 70 instead of interrupts (in per-core Tx rings) - should be power of 2 */ 71#define SDP_TX_POLL_MODER 16 72#define SDP_TX_POLL_TIMEOUT (HZ / 20) 73#define SDP_NAGLE_TIMEOUT (HZ / 10) 74 75#define SDP_SRCAVAIL_CANCEL_TIMEOUT (HZ * 5) 76#define SDP_SRCAVAIL_ADV_TIMEOUT (1 * HZ) 77#define SDP_SRCAVAIL_PAYLOAD_LEN 1 --- 341 unchanged lines hidden (view full) --- 419 unsigned long nagle_last_unacked; /* mseq of lastest unacked packet */ 420 421 atomic_t remote_credits; 422#define remote_credits(ssk) (atomic_read(&ssk->remote_credits)) 423 int poll_cq; 424 425 /* SDP slow start */ 426 int recv_request_head; /* mark the rx_head when the resize request |
427 was recieved */ 428 int recv_request; /* XXX flag if request to resize was recieved */ | 427 was received */ 428 int recv_request; /* XXX flag if request to resize was received */ |
429 430 unsigned long tx_packets; 431 unsigned long rx_packets; 432 unsigned long tx_bytes; 433 unsigned long rx_bytes; 434 struct sdp_moderation auto_mod; 435 struct task shutdown_task; 436#ifdef SDP_ZCOPY --- 287 unchanged lines hidden --- | 429 430 unsigned long tx_packets; 431 unsigned long rx_packets; 432 unsigned long tx_bytes; 433 unsigned long rx_bytes; 434 struct sdp_moderation auto_mod; 435 struct task shutdown_task; 436#ifdef SDP_ZCOPY --- 287 unchanged lines hidden --- |