aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/af_packet/af_packet.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2023-10-31 12:29:04 +0000
committerBeno�t Ganne <bganne@cisco.com>2024-01-15 10:01:37 +0000
commit159ee88ff5f97566ac2fa1dc98c6958789aa51f4 (patch)
tree45214999b98496bb3715b98a451b1cbaba02178c /src/plugins/af_packet/af_packet.h
parent712fc0308981c61444e593d6bcc2ad62102c726d (diff)
devices: add support to check host interface offload capabilities
Type: improvement This patch implements support to check the host interface offload capabilities. NOTE: this check is only done once when interface is being created. Any changes to the cap of host interface after that will not reflect changes to af_packet interface in VPP. Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Ibc9953131f64f3fb3e601d34036b9f453913692a
Diffstat (limited to 'src/plugins/af_packet/af_packet.h')
-rw-r--r--src/plugins/af_packet/af_packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/af_packet/af_packet.h b/src/plugins/af_packet/af_packet.h
index 8026c12bc6b..e66a1119ba1 100644
--- a/src/plugins/af_packet/af_packet.h
+++ b/src/plugins/af_packet/af_packet.h
@@ -122,6 +122,7 @@ typedef struct
u8 is_qdisc_bypass_enabled;
u8 is_fanout_enabled;
int *fds;
+ u32 host_interface_oflags;
} af_packet_if_t;
typedef struct