diff options
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r-- | src/vnet/interface.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h index 0a30239e982..fe42e5d33a1 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -561,6 +561,14 @@ typedef enum vnet_hw_interface_capabilities_t_ VNET_HW_INTERFACE_CAP_SUPPORTS_TX_TCP_CKSUM | \ VNET_HW_INTERFACE_CAP_SUPPORTS_TX_UDP_CKSUM) +#define VNET_HW_INTERFACE_CAP_SUPPORTS_TX_OUTER_CKSUM \ + (VNET_HW_INTERFACE_CAP_SUPPORTS_TX_IP4_OUTER_CKSUM | \ + VNET_HW_INTERFACE_CAP_SUPPORTS_TX_UDP_OUTER_CKSUM) + +#define VNET_HW_INTERFACE_CAP_SUPPORTS_TX_CKSUM_MASK \ + (VNET_HW_INTERFACE_CAP_SUPPORTS_TX_CKSUM | \ + VNET_HW_INTERFACE_CAP_SUPPORTS_TX_OUTER_CKSUM) + #define VNET_HW_INTERFACE_CAP_SUPPORTS_L4_RX_CKSUM \ (VNET_HW_INTERFACE_CAP_SUPPORTS_RX_TCP_CKSUM | \ VNET_HW_INTERFACE_CAP_SUPPORTS_RX_UDP_CKSUM) @@ -570,6 +578,10 @@ typedef enum vnet_hw_interface_capabilities_t_ VNET_HW_INTERFACE_CAP_SUPPORTS_RX_TCP_CKSUM | \ VNET_HW_INTERFACE_CAP_SUPPORTS_RX_UDP_CKSUM) +#define VNET_HW_INTERFACE_CAP_SUPPORTS_TNL_GSO_MASK \ + VNET_HW_INTERFACE_CAP_SUPPORTS_VXLAN_TNL_GSO | \ + VNET_HW_INTERFACE_CAP_SUPPORTS_IPIP_TNL_GSO + #define VNET_HW_INTERFACE_FLAG_DUPLEX_SHIFT 1 #define VNET_HW_INTERFACE_FLAG_SPEED_SHIFT 3 #define VNET_HW_INTERFACE_FLAG_DUPLEX_MASK \ |