bnx2: Set rx buffer water marks based on MTU.
authorMichael Chan <mchan@broadcom.com>
Thu, 13 Nov 2008 00:02:20 +0000 (16:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2008 00:02:20 +0000 (16:02 -0800)
commitd8026d939495c105cf747c0196a8fa738cf2ad20
tree9240f3af1002c84bfdedbc4c952234684eef3a92
parent5ec6d7bf195c2e70003ff30e4f51390ef7e85a31
bnx2: Set rx buffer water marks based on MTU.

The default rx buffer water marks for XOFF/XON are for 1500 MTU.  At
larger MTUs, these water marks need to be adjusted for effective
flow control.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h