mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 19:06:14 +00:00
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:
parent
7c3a95a15a
commit
36eabda3d0
3 changed files with 9 additions and 0 deletions
|
@ -54,6 +54,7 @@ enum {
|
|||
NETIF_F_RXCSUM_BIT, /* Receive checksumming offload */
|
||||
NETIF_F_NOCACHE_COPY_BIT, /* Use no-cache copyfromuser */
|
||||
NETIF_F_LOOPBACK_BIT, /* Enable loopback */
|
||||
NETIF_F_RXFCS_BIT, /* Append FCS to skb pkt data */
|
||||
|
||||
/*
|
||||
* Add your fresh new feature above and remember to update
|
||||
|
@ -98,6 +99,7 @@ enum {
|
|||
#define NETIF_F_TSO __NETIF_F(TSO)
|
||||
#define NETIF_F_UFO __NETIF_F(UFO)
|
||||
#define NETIF_F_VLAN_CHALLENGED __NETIF_F(VLAN_CHALLENGED)
|
||||
#define NETIF_F_RXFCS __NETIF_F(RXFCS)
|
||||
|
||||
/* Features valid for ethtool to change */
|
||||
/* = all defined minus driver/device-class-related */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue