diff options
Diffstat (limited to 'include/linux/netdev_features.h')
| -rw-r--r-- | include/linux/netdev_features.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 1005ebf17575..c26d0ec2ef3a 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
| @@ -63,6 +63,7 @@ enum { | |||
| 63 | NETIF_F_HW_VLAN_STAG_RX_BIT, /* Receive VLAN STAG HW acceleration */ | 63 | NETIF_F_HW_VLAN_STAG_RX_BIT, /* Receive VLAN STAG HW acceleration */ |
| 64 | NETIF_F_HW_VLAN_STAG_FILTER_BIT,/* Receive filtering on VLAN STAGs */ | 64 | NETIF_F_HW_VLAN_STAG_FILTER_BIT,/* Receive filtering on VLAN STAGs */ |
| 65 | NETIF_F_HW_L2FW_DOFFLOAD_BIT, /* Allow L2 Forwarding in Hardware */ | 65 | NETIF_F_HW_L2FW_DOFFLOAD_BIT, /* Allow L2 Forwarding in Hardware */ |
| 66 | NETIF_F_BUSY_POLL_BIT, /* Busy poll */ | ||
| 66 | 67 | ||
| 67 | /* | 68 | /* |
| 68 | * Add your fresh new feature above and remember to update | 69 | * Add your fresh new feature above and remember to update |
| @@ -118,6 +119,7 @@ enum { | |||
| 118 | #define NETIF_F_HW_VLAN_STAG_RX __NETIF_F(HW_VLAN_STAG_RX) | 119 | #define NETIF_F_HW_VLAN_STAG_RX __NETIF_F(HW_VLAN_STAG_RX) |
| 119 | #define NETIF_F_HW_VLAN_STAG_TX __NETIF_F(HW_VLAN_STAG_TX) | 120 | #define NETIF_F_HW_VLAN_STAG_TX __NETIF_F(HW_VLAN_STAG_TX) |
| 120 | #define NETIF_F_HW_L2FW_DOFFLOAD __NETIF_F(HW_L2FW_DOFFLOAD) | 121 | #define NETIF_F_HW_L2FW_DOFFLOAD __NETIF_F(HW_L2FW_DOFFLOAD) |
| 122 | #define NETIF_F_BUSY_POLL __NETIF_F(BUSY_POLL) | ||
| 121 | 123 | ||
| 122 | /* Features valid for ethtool to change */ | 124 | /* Features valid for ethtool to change */ |
| 123 | /* = all defined minus driver/device-class-related */ | 125 | /* = all defined minus driver/device-class-related */ |
| @@ -163,4 +165,11 @@ enum { | |||
| 163 | /* changeable features with no special hardware requirements */ | 165 | /* changeable features with no special hardware requirements */ |
| 164 | #define NETIF_F_SOFT_FEATURES (NETIF_F_GSO | NETIF_F_GRO) | 166 | #define NETIF_F_SOFT_FEATURES (NETIF_F_GSO | NETIF_F_GRO) |
| 165 | 167 | ||
| 168 | #define NETIF_F_VLAN_FEATURES (NETIF_F_HW_VLAN_CTAG_FILTER | \ | ||
| 169 | NETIF_F_HW_VLAN_CTAG_RX | \ | ||
| 170 | NETIF_F_HW_VLAN_CTAG_TX | \ | ||
| 171 | NETIF_F_HW_VLAN_STAG_FILTER | \ | ||
| 172 | NETIF_F_HW_VLAN_STAG_RX | \ | ||
| 173 | NETIF_F_HW_VLAN_STAG_TX) | ||
| 174 | |||
| 166 | #endif /* _LINUX_NETDEV_FEATURES_H */ | 175 | #endif /* _LINUX_NETDEV_FEATURES_H */ |
