diff options
Diffstat (limited to 'include/linux/netdev_features.h')
| -rw-r--r-- | include/linux/netdev_features.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 35b79f47a13d..fe2f3b30960e 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
| @@ -55,8 +55,9 @@ enum { | |||
| 55 | NETIF_F_GSO_SCTP_BIT, /* ... SCTP fragmentation */ | 55 | NETIF_F_GSO_SCTP_BIT, /* ... SCTP fragmentation */ |
| 56 | NETIF_F_GSO_ESP_BIT, /* ... ESP with TSO */ | 56 | NETIF_F_GSO_ESP_BIT, /* ... ESP with TSO */ |
| 57 | NETIF_F_GSO_UDP_BIT, /* ... UFO, deprecated except tuntap */ | 57 | NETIF_F_GSO_UDP_BIT, /* ... UFO, deprecated except tuntap */ |
| 58 | NETIF_F_GSO_UDP_L4_BIT, /* ... UDP payload GSO (not UFO) */ | ||
| 58 | /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ | 59 | /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ |
| 59 | NETIF_F_GSO_UDP_BIT, | 60 | NETIF_F_GSO_UDP_L4_BIT, |
| 60 | 61 | ||
| 61 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ | 62 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ |
| 62 | NETIF_F_SCTP_CRC_BIT, /* SCTP checksum offload */ | 63 | NETIF_F_SCTP_CRC_BIT, /* SCTP checksum offload */ |
| @@ -147,6 +148,7 @@ enum { | |||
| 147 | #define NETIF_F_HW_ESP_TX_CSUM __NETIF_F(HW_ESP_TX_CSUM) | 148 | #define NETIF_F_HW_ESP_TX_CSUM __NETIF_F(HW_ESP_TX_CSUM) |
| 148 | #define NETIF_F_RX_UDP_TUNNEL_PORT __NETIF_F(RX_UDP_TUNNEL_PORT) | 149 | #define NETIF_F_RX_UDP_TUNNEL_PORT __NETIF_F(RX_UDP_TUNNEL_PORT) |
| 149 | #define NETIF_F_HW_TLS_RECORD __NETIF_F(HW_TLS_RECORD) | 150 | #define NETIF_F_HW_TLS_RECORD __NETIF_F(HW_TLS_RECORD) |
| 151 | #define NETIF_F_GSO_UDP_L4 __NETIF_F(GSO_UDP_L4) | ||
| 150 | 152 | ||
| 151 | #define for_each_netdev_feature(mask_addr, bit) \ | 153 | #define for_each_netdev_feature(mask_addr, bit) \ |
| 152 | for_each_set_bit(bit, (unsigned long *)mask_addr, NETDEV_FEATURE_COUNT) | 154 | for_each_set_bit(bit, (unsigned long *)mask_addr, NETDEV_FEATURE_COUNT) |
| @@ -216,6 +218,7 @@ enum { | |||
| 216 | NETIF_F_GSO_GRE_CSUM | \ | 218 | NETIF_F_GSO_GRE_CSUM | \ |
| 217 | NETIF_F_GSO_IPXIP4 | \ | 219 | NETIF_F_GSO_IPXIP4 | \ |
| 218 | NETIF_F_GSO_IPXIP6 | \ | 220 | NETIF_F_GSO_IPXIP6 | \ |
| 221 | NETIF_F_GSO_UDP_L4 | \ | ||
| 219 | NETIF_F_GSO_UDP_TUNNEL | \ | 222 | NETIF_F_GSO_UDP_TUNNEL | \ |
| 220 | NETIF_F_GSO_UDP_TUNNEL_CSUM) | 223 | NETIF_F_GSO_UDP_TUNNEL_CSUM) |
| 221 | 224 | ||
