diff options
author | Ben Greear <greearb@candelatech.com> | 2012-02-11 10:39:45 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-02-24 04:42:07 -0500 |
commit | 5e0c03c8cd40e5c3b7ba624b8ba9a343de79ade1 (patch) | |
tree | 01d52570bbe5c9392d7e0c47efff0c4947cf92a2 /include/linux/netdev_features.h | |
parent | 943146de22d3658de26d94512beae7223282ed1c (diff) |
net: Support RX-ALL feature flag.
This flag requests that network devices pass all
received frames up the stack, even ones with errors
such as invalid FCS (frame check sum). This will
allow sniffers to see bad packets and perhaps
give the user some idea how to fix the problem.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index d1331865f830..5ac32123035a 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
@@ -55,6 +55,7 @@ enum { | |||
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 | NETIF_F_RXFCS_BIT, /* Append FCS to skb pkt data */ |
58 | NETIF_F_RXALL_BIT, /* Receive errored frames too */ | ||
58 | 59 | ||
59 | /* | 60 | /* |
60 | * Add your fresh new feature above and remember to update | 61 | * Add your fresh new feature above and remember to update |
@@ -100,6 +101,7 @@ enum { | |||
100 | #define NETIF_F_UFO __NETIF_F(UFO) | 101 | #define NETIF_F_UFO __NETIF_F(UFO) |
101 | #define NETIF_F_VLAN_CHALLENGED __NETIF_F(VLAN_CHALLENGED) | 102 | #define NETIF_F_VLAN_CHALLENGED __NETIF_F(VLAN_CHALLENGED) |
102 | #define NETIF_F_RXFCS __NETIF_F(RXFCS) | 103 | #define NETIF_F_RXFCS __NETIF_F(RXFCS) |
104 | #define NETIF_F_RXALL __NETIF_F(RXALL) | ||
103 | 105 | ||
104 | /* Features valid for ethtool to change */ | 106 | /* Features valid for ethtool to change */ |
105 | /* = all defined minus driver/device-class-related */ | 107 | /* = all defined minus driver/device-class-related */ |