diff options
Diffstat (limited to 'include/linux/netdev_features.h')
| -rw-r--r-- | include/linux/netdev_features.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 3dd39340430e..09906b7ca47d 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
| @@ -22,9 +22,9 @@ enum { | |||
| 22 | NETIF_F_IPV6_CSUM_BIT, /* Can checksum TCP/UDP over IPV6 */ | 22 | NETIF_F_IPV6_CSUM_BIT, /* Can checksum TCP/UDP over IPV6 */ |
| 23 | NETIF_F_HIGHDMA_BIT, /* Can DMA to high memory. */ | 23 | NETIF_F_HIGHDMA_BIT, /* Can DMA to high memory. */ |
| 24 | NETIF_F_FRAGLIST_BIT, /* Scatter/gather IO. */ | 24 | NETIF_F_FRAGLIST_BIT, /* Scatter/gather IO. */ |
| 25 | NETIF_F_HW_VLAN_TX_BIT, /* Transmit VLAN hw acceleration */ | 25 | NETIF_F_HW_VLAN_CTAG_TX_BIT, /* Transmit VLAN CTAG HW acceleration */ |
| 26 | NETIF_F_HW_VLAN_RX_BIT, /* Receive VLAN hw acceleration */ | 26 | NETIF_F_HW_VLAN_CTAG_RX_BIT, /* Receive VLAN CTAG HW acceleration */ |
| 27 | NETIF_F_HW_VLAN_FILTER_BIT, /* Receive filtering on VLAN */ | 27 | NETIF_F_HW_VLAN_CTAG_FILTER_BIT,/* Receive filtering on VLAN CTAGs */ |
| 28 | NETIF_F_VLAN_CHALLENGED_BIT, /* Device cannot handle VLAN packets */ | 28 | NETIF_F_VLAN_CHALLENGED_BIT, /* Device cannot handle VLAN packets */ |
| 29 | NETIF_F_GSO_BIT, /* Enable software GSO. */ | 29 | NETIF_F_GSO_BIT, /* Enable software GSO. */ |
| 30 | NETIF_F_LLTX_BIT, /* LockLess TX - deprecated. Please */ | 30 | NETIF_F_LLTX_BIT, /* LockLess TX - deprecated. Please */ |
| @@ -42,9 +42,9 @@ enum { | |||
| 42 | NETIF_F_TSO6_BIT, /* ... TCPv6 segmentation */ | 42 | NETIF_F_TSO6_BIT, /* ... TCPv6 segmentation */ |
| 43 | NETIF_F_FSO_BIT, /* ... FCoE segmentation */ | 43 | NETIF_F_FSO_BIT, /* ... FCoE segmentation */ |
| 44 | NETIF_F_GSO_GRE_BIT, /* ... GRE with TSO */ | 44 | NETIF_F_GSO_GRE_BIT, /* ... GRE with TSO */ |
| 45 | /**/NETIF_F_GSO_LAST, /* [can't be last bit, see GSO_MASK] */ | 45 | NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ |
| 46 | NETIF_F_GSO_RESERVED2 /* ... free (fill GSO_MASK to 8 bits) */ | 46 | /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ |
| 47 | = NETIF_F_GSO_LAST, | 47 | NETIF_F_GSO_UDP_TUNNEL_BIT, |
| 48 | 48 | ||
| 49 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ | 49 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ |
| 50 | NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ | 50 | NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ |
| @@ -56,6 +56,9 @@ enum { | |||
| 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 | NETIF_F_RXALL_BIT, /* Receive errored frames too */ |
| 59 | NETIF_F_HW_VLAN_STAG_TX_BIT, /* Transmit VLAN STAG HW acceleration */ | ||
| 60 | NETIF_F_HW_VLAN_STAG_RX_BIT, /* Receive VLAN STAG HW acceleration */ | ||
| 61 | NETIF_F_HW_VLAN_STAG_FILTER_BIT,/* Receive filtering on VLAN STAGs */ | ||
| 59 | 62 | ||
| 60 | /* | 63 | /* |
| 61 | * Add your fresh new feature above and remember to update | 64 | * Add your fresh new feature above and remember to update |
| @@ -80,9 +83,9 @@ enum { | |||
| 80 | #define NETIF_F_GSO_ROBUST __NETIF_F(GSO_ROBUST) | 83 | #define NETIF_F_GSO_ROBUST __NETIF_F(GSO_ROBUST) |
| 81 | #define NETIF_F_HIGHDMA __NETIF_F(HIGHDMA) | 84 | #define NETIF_F_HIGHDMA __NETIF_F(HIGHDMA) |
| 82 | #define NETIF_F_HW_CSUM __NETIF_F(HW_CSUM) | 85 | #define NETIF_F_HW_CSUM __NETIF_F(HW_CSUM) |
| 83 | #define NETIF_F_HW_VLAN_FILTER __NETIF_F(HW_VLAN_FILTER) | 86 | #define NETIF_F_HW_VLAN_CTAG_FILTER __NETIF_F(HW_VLAN_CTAG_FILTER) |
| 84 | #define NETIF_F_HW_VLAN_RX __NETIF_F(HW_VLAN_RX) | 87 | #define NETIF_F_HW_VLAN_CTAG_RX __NETIF_F(HW_VLAN_CTAG_RX) |
| 85 | #define NETIF_F_HW_VLAN_TX __NETIF_F(HW_VLAN_TX) | 88 | #define NETIF_F_HW_VLAN_CTAG_TX __NETIF_F(HW_VLAN_CTAG_TX) |
| 86 | #define NETIF_F_IP_CSUM __NETIF_F(IP_CSUM) | 89 | #define NETIF_F_IP_CSUM __NETIF_F(IP_CSUM) |
| 87 | #define NETIF_F_IPV6_CSUM __NETIF_F(IPV6_CSUM) | 90 | #define NETIF_F_IPV6_CSUM __NETIF_F(IPV6_CSUM) |
| 88 | #define NETIF_F_LLTX __NETIF_F(LLTX) | 91 | #define NETIF_F_LLTX __NETIF_F(LLTX) |
| @@ -102,7 +105,11 @@ enum { | |||
| 102 | #define NETIF_F_VLAN_CHALLENGED __NETIF_F(VLAN_CHALLENGED) | 105 | #define NETIF_F_VLAN_CHALLENGED __NETIF_F(VLAN_CHALLENGED) |
| 103 | #define NETIF_F_RXFCS __NETIF_F(RXFCS) | 106 | #define NETIF_F_RXFCS __NETIF_F(RXFCS) |
| 104 | #define NETIF_F_RXALL __NETIF_F(RXALL) | 107 | #define NETIF_F_RXALL __NETIF_F(RXALL) |
| 105 | #define NETIF_F_GRE_GSO __NETIF_F(GSO_GRE) | 108 | #define NETIF_F_GSO_GRE __NETIF_F(GSO_GRE) |
| 109 | #define NETIF_F_GSO_UDP_TUNNEL __NETIF_F(GSO_UDP_TUNNEL) | ||
| 110 | #define NETIF_F_HW_VLAN_STAG_FILTER __NETIF_F(HW_VLAN_STAG_FILTER) | ||
| 111 | #define NETIF_F_HW_VLAN_STAG_RX __NETIF_F(HW_VLAN_STAG_RX) | ||
| 112 | #define NETIF_F_HW_VLAN_STAG_TX __NETIF_F(HW_VLAN_STAG_TX) | ||
| 106 | 113 | ||
| 107 | /* Features valid for ethtool to change */ | 114 | /* Features valid for ethtool to change */ |
| 108 | /* = all defined minus driver/device-class-related */ | 115 | /* = all defined minus driver/device-class-related */ |
