aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/adapter.h
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2009-03-12 17:13:43 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-13 14:30:43 -0400
commit26b3871d2c82b7c733a3b6d631a6e48c9ebf1c5a (patch)
tree301a4a1bca9cb85aa8e50bcaa223fa9772afbb90 /drivers/net/cxgb3/adapter.h
parentff5e2b4732b8386d8354da2cdf7c146487f51736 (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.h1
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;
91struct sge_fl { /* SGE per free-buffer list state */ 91struct 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 */