kernel_optimize_test/net/ethtool
Vladyslav Tarasiuk 9d648fb560 ethtool: fix incorrect tx-checksumming settings reporting
Currently, ethtool feature mask for checksum command is ORed with
NETIF_F_FCOE_CRC_BIT, which is bit's position number, instead of the
actual feature bit - NETIF_F_FCOE_CRC.

The invalid bitmask here might affect unrelated features when toggling
TX checksumming. For example, TX checksumming is always mistakenly
reported as enabled on the netdevs tested (mlx5, virtio_net).

Fixes: f70bb06563 ("ethtool: update mapping of features to legacy ioctl requests")
Signed-off-by: Vladyslav Tarasiuk <vladyslavt@mellanox.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-24 16:25:11 -07:00
..
bitset.c ethtool: add ethnl_parse_bitset() helper 2020-03-12 15:32:32 -07:00
bitset.h ethtool: add ethnl_parse_bitset() helper 2020-03-12 15:32:32 -07:00
channels.c ethtool: fix spelling mistake "exceeeds" -> "exceeds" 2020-03-13 11:23:33 -07:00
common.c net: ethtool: require drivers to set supported_coalesce_params 2020-03-17 20:56:58 -07:00
common.h ethtool: set device channel counts with CHANNELS_SET request 2020-03-12 15:32:33 -07:00
debug.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
features.c ethtool: add FEATURES_NTF notification 2020-03-12 15:32:33 -07:00
ioctl.c ethtool: fix incorrect tx-checksumming settings reporting 2020-03-24 16:25:11 -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 channel counts with CHANNELS_GET request 2020-03-12 15:32:33 -07:00
netlink.c ethtool: add CHANNELS_NTF notification 2020-03-12 15:32:33 -07:00
netlink.h ethtool: set device channel counts with CHANNELS_SET request 2020-03-12 15:32:33 -07:00
privflags.c ethtool: add PRIVFLAGS_NTF notification 2020-03-12 15:32:33 -07:00
rings.c ethtool: fix spelling mistake "exceeeds" -> "exceeds" 2020-03-13 11:23:33 -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