summaryrefslogtreecommitdiff
path: root/net/ethtool/netlink.h
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-03-12 23:07:43 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-13 01:32:32 +0300
commitf70bb06563ed07e4ba064f2785dba0bef96cd449 (patch)
treeb814fec15a639e1e398736998b1a843c1bdf979c /net/ethtool/netlink.h
parent98130546da115a8aab663bc0c0971cc0bcc50542 (diff)
downloadlinux-f70bb06563ed07e4ba064f2785dba0bef96cd449.tar.xz
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>
Diffstat (limited to 'net/ethtool/netlink.h')
0 files changed, 0 insertions, 0 deletions