linux_dsm_epyc7002/drivers/net/ethernet/chelsio/cxgb4vf
Rahul Lakkireddy 0caeaf6ad5 cxgb4/cxgb4vf: fix flow control display for auto negotiation
As per 802.3-2005, Section Two, Annex 28B, Table 28B-2 [1], when
_only_ Rx pause is enabled, both symmetric and asymmetric pause
towards local device must be enabled. Also, firmware returns the local
device's flow control pause params as part of advertised capabilities
and negotiated params as part of current link attributes. So, fix up
ethtool's flow control pause params fetch logic to read from acaps,
instead of linkattr.

[1] https://standards.ieee.org/standard/802_3-2005.html

Fixes: c3168cabe1 ("cxgb4/cxgbvf: Handle 32-bit fw port capabilities")
Signed-off-by: Surendra Mobiya <surendra@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-30 14:40:42 -08:00
..
adapter.h cxgb4vf: Prefix adapter flags with CXGB4VF 2019-03-01 23:18:12 -08:00
cxgb4vf_main.c cxgb4/cxgb4vf: fix flow control display for auto negotiation 2019-12-30 14:40:42 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sge.c cxgb4vf: Prefix adapter flags with CXGB4VF 2019-03-01 23:18:12 -08:00
t4vf_common.h cxgb4/cxgb4vf: fix flow control display for auto negotiation 2019-12-30 14:40:42 -08:00
t4vf_defs.h cxgb4vf: Update to 128 byte mailbox size for T6 adapter 2015-12-23 22:34:45 -05:00
t4vf_hw.c cxgb4/cxgb4vf: fix flow control display for auto negotiation 2019-12-30 14:40:42 -08:00