]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit8c99e7b0436473593a68e740d1032909bc5335a1
tree621557728da3ea1bb7cf4e4e08a4c184bf037b4e
parent57963ed94c27e94a7533434da5943195ea072a35
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