diff options
author | Ben Greear <greearb@candelatech.com> | 2012-02-11 15:39:14 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-02-24 01:19:59 -0800 |
commit | 36eabda3d094dae30a74350c6289c163349b744d (patch) | |
tree | 9fc370acb4cf09424b913ff8d5a8a80cd6b21d56 /net/core | |
parent | 7c3a95a15ad2a5278498a72df0463131048926a3 (diff) | |
download | linux-stable-36eabda3d094dae30a74350c6289c163349b744d.tar.gz linux-stable-36eabda3d094dae30a74350c6289c163349b744d.tar.bz2 linux-stable-36eabda3d094dae30a74350c6289c163349b744d.zip |
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 3f79db1b612a..080161924a0d 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -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) |