diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-03-12 17:13:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-13 14:30:43 -0400 |
commit | 26b3871d2c82b7c733a3b6d631a6e48c9ebf1c5a (patch) | |
tree | 301a4a1bca9cb85aa8e50bcaa223fa9772afbb90 /drivers/net/cxgb3/adapter.h | |
parent | ff5e2b4732b8386d8354da2cdf7c146487f51736 (diff) |
cxgb3: ring rx door bell less frequently
Ring free lists door bell less frequently,
specifically every quarter of the active FL
size.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/adapter.h')
-rw-r--r-- | drivers/net/cxgb3/adapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index fbe15699584e..95dce4832478 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h | |||
@@ -91,6 +91,7 @@ struct rx_sw_desc; | |||
91 | struct sge_fl { /* SGE per free-buffer list state */ | 91 | struct sge_fl { /* SGE per free-buffer list state */ |
92 | unsigned int buf_size; /* size of each Rx buffer */ | 92 | unsigned int buf_size; /* size of each Rx buffer */ |
93 | unsigned int credits; /* # of available Rx buffers */ | 93 | unsigned int credits; /* # of available Rx buffers */ |
94 | unsigned int pend_cred; /* new buffers since last FL DB ring */ | ||
94 | unsigned int size; /* capacity of free list */ | 95 | unsigned int size; /* capacity of free list */ |
95 | unsigned int cidx; /* consumer index */ | 96 | unsigned int cidx; /* consumer index */ |
96 | unsigned int pidx; /* producer index */ | 97 | unsigned int pidx; /* producer index */ |