summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2015-06-25 15:19:21 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-25 06:30:33 -0700
commit1359d73c1d6fa737545d946f9bcb4b9a6b13a6ea (patch)
treefa29dc8742c83df1cde02c1bdf5f5881771cfe4f /drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
parentb175c3a44fab06e1eccc793e3dadccbf6afc54cf (diff)
bnx2x: Correct asymmetric flow-control
This fixes several issues relating to asymmetric configuration: 1. When user requests to disable TX, the local-device needs to advertise both PAUSE and ASM_DIR, but to avoid transmitting pause frames. In the 578xx, it would ignore the TX disable. 2. When user advertises RX-only, ASM_DIR was advertised instead of PAUSE/ASM_DIR. 3. When changing mode, the advertised PAUSE/ASM_DIR was not cleared before setting new one, so disabling RX or TX had no impact on the 'advertised' as appeared in the 'ethtool -a' output. Signed-off-by: Yaniv Rosner <Yaniv.Rosner@qlogic.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c')
0 files changed, 0 insertions, 0 deletions