diff options
Diffstat (limited to 'include/linux/netdev_features.h')
| -rw-r--r-- | include/linux/netdev_features.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index f0d87347df19..d9654f0eecb3 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
| @@ -52,7 +52,7 @@ enum { | |||
| 52 | NETIF_F_GSO_TUNNEL_REMCSUM_BIT, | 52 | NETIF_F_GSO_TUNNEL_REMCSUM_BIT, |
| 53 | 53 | ||
| 54 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ | 54 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ |
| 55 | NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ | 55 | NETIF_F_SCTP_CRC_BIT, /* SCTP checksum offload */ |
| 56 | NETIF_F_FCOE_MTU_BIT, /* Supports max FCoE MTU, 2158 bytes*/ | 56 | NETIF_F_FCOE_MTU_BIT, /* Supports max FCoE MTU, 2158 bytes*/ |
| 57 | NETIF_F_NTUPLE_BIT, /* N-tuple filters supported */ | 57 | NETIF_F_NTUPLE_BIT, /* N-tuple filters supported */ |
| 58 | NETIF_F_RXHASH_BIT, /* Receive hashing offload */ | 58 | NETIF_F_RXHASH_BIT, /* Receive hashing offload */ |
| @@ -103,7 +103,7 @@ enum { | |||
| 103 | #define NETIF_F_NTUPLE __NETIF_F(NTUPLE) | 103 | #define NETIF_F_NTUPLE __NETIF_F(NTUPLE) |
| 104 | #define NETIF_F_RXCSUM __NETIF_F(RXCSUM) | 104 | #define NETIF_F_RXCSUM __NETIF_F(RXCSUM) |
| 105 | #define NETIF_F_RXHASH __NETIF_F(RXHASH) | 105 | #define NETIF_F_RXHASH __NETIF_F(RXHASH) |
| 106 | #define NETIF_F_SCTP_CSUM __NETIF_F(SCTP_CSUM) | 106 | #define NETIF_F_SCTP_CRC __NETIF_F(SCTP_CRC) |
| 107 | #define NETIF_F_SG __NETIF_F(SG) | 107 | #define NETIF_F_SG __NETIF_F(SG) |
| 108 | #define NETIF_F_TSO6 __NETIF_F(TSO6) | 108 | #define NETIF_F_TSO6 __NETIF_F(TSO6) |
| 109 | #define NETIF_F_TSO_ECN __NETIF_F(TSO_ECN) | 109 | #define NETIF_F_TSO_ECN __NETIF_F(TSO_ECN) |
| @@ -146,10 +146,12 @@ enum { | |||
| 146 | #define NETIF_F_GSO_SOFTWARE (NETIF_F_TSO | NETIF_F_TSO_ECN | \ | 146 | #define NETIF_F_GSO_SOFTWARE (NETIF_F_TSO | NETIF_F_TSO_ECN | \ |
| 147 | NETIF_F_TSO6 | NETIF_F_UFO) | 147 | NETIF_F_TSO6 | NETIF_F_UFO) |
| 148 | 148 | ||
| 149 | #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM | 149 | /* List of IP checksum features. Note that NETIF_F_ HW_CSUM should not be |
| 150 | #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) | 150 | * set in features when NETIF_F_IP_CSUM or NETIF_F_IPV6_CSUM are set-- |
| 151 | #define NETIF_F_V6_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IPV6_CSUM) | 151 | * this would be contradictory |
| 152 | #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) | 152 | */ |
| 153 | #define NETIF_F_CSUM_MASK (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | \ | ||
| 154 | NETIF_F_HW_CSUM) | ||
| 153 | 155 | ||
| 154 | #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) | 156 | #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) |
| 155 | 157 | ||
