summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/af_packet.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-03-22 21:40:04 +0000
committerDamjan Marion <dmarion@me.com>2022-03-23 18:47:15 +0000
commitc1fd17bd10fd7441d1f4d7c6f0ecf5761c4e00b2 (patch)
tree0baa5437415bdebaa89724cd06982a5a459acb26 /src/vnet/devices/af_packet/af_packet.h
parent219cbcb29fdcd9d76d7fe00c5a5e074f8e149083 (diff)
devices: add support for offloads
Type: improvement This patch adds support for: 1) GSO 2) checksum offload Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Ib00629888c62da04d58db36ce021993769e736c9
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.h')
-rw-r--r--src/vnet/devices/af_packet/af_packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h
index ed3f10bb092..dd38e1bb266 100644
--- a/src/vnet/devices/af_packet/af_packet.h
+++ b/src/vnet/devices/af_packet/af_packet.h
@@ -49,6 +49,7 @@ typedef struct
tpacket_req3_t *tx_req;
u8 **rx_ring;
u8 **tx_ring;
+ u8 is_cksum_gso_enabled;
u32 hdrlen;
u32 hw_if_index;
u32 sw_if_index;