diff options
Diffstat (limited to 'include/linux/netdev_features.h')
| -rw-r--r-- | include/linux/netdev_features.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 15eb0b12fff9..bc8736266749 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
| @@ -152,11 +152,6 @@ enum { | |||
| 152 | #define NETIF_F_GSO_MASK (__NETIF_F_BIT(NETIF_F_GSO_LAST + 1) - \ | 152 | #define NETIF_F_GSO_MASK (__NETIF_F_BIT(NETIF_F_GSO_LAST + 1) - \ |
| 153 | __NETIF_F_BIT(NETIF_F_GSO_SHIFT)) | 153 | __NETIF_F_BIT(NETIF_F_GSO_SHIFT)) |
| 154 | 154 | ||
| 155 | /* List of features with software fallbacks. */ | ||
| 156 | #define NETIF_F_GSO_SOFTWARE (NETIF_F_TSO | NETIF_F_TSO_ECN | \ | ||
| 157 | NETIF_F_TSO_MANGLEID | \ | ||
| 158 | NETIF_F_TSO6 | NETIF_F_UFO) | ||
| 159 | |||
| 160 | /* List of IP checksum features. Note that NETIF_F_ HW_CSUM should not be | 155 | /* List of IP checksum features. Note that NETIF_F_ HW_CSUM should not be |
| 161 | * set in features when NETIF_F_IP_CSUM or NETIF_F_IPV6_CSUM are set-- | 156 | * set in features when NETIF_F_IP_CSUM or NETIF_F_IPV6_CSUM are set-- |
| 162 | * this would be contradictory | 157 | * this would be contradictory |
| @@ -170,6 +165,9 @@ enum { | |||
| 170 | #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ | 165 | #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ |
| 171 | NETIF_F_FSO) | 166 | NETIF_F_FSO) |
| 172 | 167 | ||
| 168 | /* List of features with software fallbacks. */ | ||
| 169 | #define NETIF_F_GSO_SOFTWARE (NETIF_F_ALL_TSO | NETIF_F_UFO) | ||
| 170 | |||
| 173 | /* | 171 | /* |
| 174 | * If one device supports one of these features, then enable them | 172 | * If one device supports one of these features, then enable them |
| 175 | * for all in netdev_increment_features. | 173 | * for all in netdev_increment_features. |
