linux/net/ethtool
Michal Kubecek f70bb06563 ethtool: update mapping of features to legacy ioctl requests
Legacy ioctl request like ETHTOOL_GTXCSUM are still used by ethtool utility
to get values of legacy flags (which rather work as feature groups). These
are calculated from values of actual features and request to set them is
implemented as an attempt to set all features mapping to them but there are
two inconsistencies:

- tx-checksum-fcoe-crc is shown under tx-checksumming but NETIF_F_FCOE_CRC
  is not included in ETHTOOL_GTXCSUM/ETHTOOL_STXCSUM
- tx-scatter-gather-fraglist is shown under scatter-gather but
  NETIF_F_FRAGLIST is not included in ETHTOOL_GSG/ETHTOOL_SSG

As the mapping in ethtool output is more correct from logical point of
view, fix ethtool_get_feature_mask() to match it.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-12 15:32:32 -07:00
..
bitset.c ethtool: limit bitset size 2020-02-26 11:27:31 -08:00
bitset.h ethtool: limit bitset size 2020-02-26 11:27:31 -08:00
common.c ethtool: Add support for low latency RS FEC 2020-02-18 19:17:31 -08:00
common.h ethtool: provide WoL settings with WOL_GET request 2020-01-27 11:31:36 +01:00
debug.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
ioctl.c ethtool: update mapping of features to legacy ioctl requests 2020-03-12 15:32:32 -07:00
linkinfo.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
linkmodes.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
linkstate.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
Makefile ethtool: provide WoL settings with WOL_GET request 2020-01-27 11:31:36 +01:00
netlink.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
netlink.h ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
strset.c ethtool: provide WoL settings with WOL_GET request 2020-01-27 11:31:36 +01:00
wol.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00