]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bnxt_en: Fix ethtool -a reporting.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 28 Mar 2016 23:46:07 +0000 (19:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Mar 2016 23:01:33 +0000 (19:01 -0400)
commit3c02d1bb32347d0674714ee170772d771d513469
tree43d61ac74468f3a42fe88e4a3be6156a3500eb8c
parent49b5c7a125201bb42c25831fda3a50305c29ef50
bnxt_en: Fix ethtool -a reporting.

To report flow control tx/rx settings accurately regardless of autoneg
setting, we should use link_info->req_flow_ctrl.  Before this patch,
the reported settings were only correct when autoneg was on.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c