diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2022-04-05 13:08:53 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-04-11 07:22:26 +0000 |
commit | c73984a0fcc8229e698c315524067e8aa3673b48 (patch) | |
tree | 8e1e7d7c08a24a6f0689ce60d6a8bae7a45a22dc /src/vnet/devices/af_packet/af_packet.h | |
parent | 9a93bc14b524300e0933c2d858870bdbe02b05b3 (diff) |
devices: refactor fanout support
Type: refactor
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I9e68ecb91f6433f68a8a87dd066f3e369f25a3c9
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.h')
-rw-r--r-- | src/vnet/devices/af_packet/af_packet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h index 64daaa197eb..10a7aafda56 100644 --- a/src/vnet/devices/af_packet/af_packet.h +++ b/src/vnet/devices/af_packet/af_packet.h @@ -36,6 +36,7 @@ typedef enum { AF_PACKET_IF_FLAGS_QDISC_BYPASS = 1, AF_PACKET_IF_FLAGS_CKSUM_GSO = 2, + AF_PACKET_IF_FLAGS_FANOUT = 4, } af_packet_if_flags_t; typedef struct @@ -108,6 +109,7 @@ typedef struct af_packet_ring_t *rings; u8 is_qdisc_bypass_enabled; + u8 is_fanout_enabled; } af_packet_if_t; typedef struct |