summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-02-15 20:42:09 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-17 00:19:03 +0100
commit5726026bfffa13e9b1098d7bc177618cbbaa9388 (patch)
treeecb18de894b79ef7d6c1dff118ae98196e37ba9e /drivers/net/bnx2.h
parentbnx2: Need to call cnic_setup_cnic_irq_info() after MTU change. (diff)
downloadlinux-5726026bfffa13e9b1098d7bc177618cbbaa9388.tar.xz
linux-5726026bfffa13e9b1098d7bc177618cbbaa9388.zip
bnx2: Adjust flow control water marks.
The current water marks are too high and can cause unnecessary flow control frames. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index b860fbbff355..cd4b0e4637ab 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -349,7 +349,7 @@ struct l2_fhdr {
#define BNX2_L2CTX_BD_PRE_READ 0x00000000
#define BNX2_L2CTX_CTX_SIZE 0x00000000
#define BNX2_L2CTX_CTX_TYPE 0x00000000
-#define BNX2_L2CTX_LO_WATER_MARK_DEFAULT 32
+#define BNX2_L2CTX_LO_WATER_MARK_DEFAULT 4
#define BNX2_L2CTX_LO_WATER_MARK_SCALE 4
#define BNX2_L2CTX_LO_WATER_MARK_DIS 0
#define BNX2_L2CTX_HI_WATER_MARK_SHIFT 4