net: remove NETIF_F_NO_CSUM feature bit
Only distinct use is checking if NETIF_F_NOCACHE_COPY should be enabled by default. The check heuristics is altered a bit here, so it hits other people than before. The default shouldn't be trusted for performance-critical cases anyway. For all other uses NETIF_F_NO_CSUM is equivalent to NETIF_F_HW_CSUM. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a861a8b233
commit
34324dc2bf
@@ -43,7 +43,6 @@ EXPORT_SYMBOL(ethtool_op_get_link);
|
||||
static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = {
|
||||
[NETIF_F_SG_BIT] = "tx-scatter-gather",
|
||||
[NETIF_F_IP_CSUM_BIT] = "tx-checksum-ipv4",
|
||||
[NETIF_F_NO_CSUM_BIT] = "tx-checksum-unneeded",
|
||||
[NETIF_F_HW_CSUM_BIT] = "tx-checksum-ip-generic",
|
||||
[NETIF_F_IPV6_CSUM_BIT] = "tx-checksum-ipv6",
|
||||
[NETIF_F_HIGHDMA_BIT] = "highdma",
|
||||
|
Reference in New Issue
Block a user