net: Support RXFCS feature flag.
When set on hardware that supports the feature, this causes the Ethernet FCS to be appended to the end of the skb. Useful for sniffing packets. Signed-off-by: Ben Greear <greearb@candelatech.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
@@ -73,6 +73,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN]
|
||||
[NETIF_F_RXCSUM_BIT] = "rx-checksum",
|
||||
[NETIF_F_NOCACHE_COPY_BIT] = "tx-nocache-copy",
|
||||
[NETIF_F_LOOPBACK_BIT] = "loopback",
|
||||
[NETIF_F_RXFCS_BIT] = "rx-fcs",
|
||||
};
|
||||
|
||||
static int ethtool_get_features(struct net_device *dev, void __user *useraddr)
|
||||
|
Reference in New Issue
Block a user