diff options
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r-- | src/vnet/interface.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h index 174e5347ad2..5c418593a42 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -475,6 +475,9 @@ typedef enum vnet_hw_interface_flags_t_ /* tx checksum offload */ VNET_HW_INTERFACE_FLAG_SUPPORTS_TX_L4_CKSUM_OFFLOAD = (1 << 17), + + /* gso */ + VNET_HW_INTERFACE_FLAG_SUPPORTS_GSO = (1 << 18), } vnet_hw_interface_flags_t; #define VNET_HW_INTERFACE_FLAG_DUPLEX_SHIFT 1 @@ -791,6 +794,12 @@ typedef struct typedef struct { + u32 *split_buffers; + u32 padding[14]; +} vnet_interface_per_thread_data_t; + +typedef struct +{ /* Hardware interfaces. */ vnet_hw_interface_t *hw_interfaces; @@ -827,6 +836,12 @@ typedef struct u32 pcap_pkts_to_capture; uword *pcap_drop_filter_hash; + /* per-thread data */ + vnet_interface_per_thread_data_t *per_thread_data; + + /* enable GSO processing in packet path if this count is > 0 */ + u32 gso_interface_count; + /* feature_arc_index */ u8 output_feature_arc_index; } vnet_interface_main_t; |