]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Pause settings
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 13 Aug 2008 22:56:17 +0000 (15:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Aug 2008 23:04:30 +0000 (16:04 -0700)
commit09b90722537df8e9eb0138018b74e5dbf04d38ef
tree621557728da3ea1bb7cf4e4e08a4c184bf037b4e
parentaec2775d62e81a29ac82147670748dd042a527e4
bnx2x: Pause settings

Pause settings
- 1G pause was not working due to missing write to the emac block
  (TX_MODE_FLOW_EN)
- The flow control should use the negotiated result (after autoneg) so
  we should save both the requested autoneg and the result
- The HW credits with flow control at 1G speed were not optimized and
  caused low throughput
- It is recommended to turn off flow control if the MTU is bigger than
  5000B due to internal buffers size

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_link.c
drivers/net/bnx2x_link.h
drivers/net/bnx2x_main.c
drivers/net/bnx2x_reg.h