aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdev_features.h
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-02-11 10:39:14 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-02-24 04:19:59 -0500
commit36eabda3d094dae30a74350c6289c163349b744d (patch)
tree9fc370acb4cf09424b913ff8d5a8a80cd6b21d56 /include/linux/netdev_features.h
parent7c3a95a15ad2a5278498a72df0463131048926a3 (diff)
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 'include/linux/netdev_features.h')
-rw-r--r--include/linux/netdev_features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h
index 77f5202977ce..d1331865f830 100644
--- a/include/linux/netdev_features.h
+++ b/include/linux/netdev_features.h
@@ -54,6 +54,7 @@ enum {
54 NETIF_F_RXCSUM_BIT, /* Receive checksumming offload */ 54 NETIF_F_RXCSUM_BIT, /* Receive checksumming offload */
55 NETIF_F_NOCACHE_COPY_BIT, /* Use no-cache copyfromuser */ 55 NETIF_F_NOCACHE_COPY_BIT, /* Use no-cache copyfromuser */
56 NETIF_F_LOOPBACK_BIT, /* Enable loopback */ 56 NETIF_F_LOOPBACK_BIT, /* Enable loopback */
57 NETIF_F_RXFCS_BIT, /* Append FCS to skb pkt data */
57 58
58 /* 59 /*
59 * Add your fresh new feature above and remember to update 60 * Add your fresh new feature above and remember to update
@@ -98,6 +99,7 @@ enum {
98#define NETIF_F_TSO __NETIF_F(TSO) 99#define NETIF_F_TSO __NETIF_F(TSO)
99#define NETIF_F_UFO __NETIF_F(UFO) 100#define NETIF_F_UFO __NETIF_F(UFO)
100#define NETIF_F_VLAN_CHALLENGED __NETIF_F(VLAN_CHALLENGED) 101#define NETIF_F_VLAN_CHALLENGED __NETIF_F(VLAN_CHALLENGED)
102#define NETIF_F_RXFCS __NETIF_F(RXFCS)
101 103
102/* Features valid for ethtool to change */ 104/* Features valid for ethtool to change */
103/* = all defined minus driver/device-class-related */ 105/* = all defined minus driver/device-class-related */