summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/device.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-04-05 13:08:53 +0000
committerBeno�t Ganne <bganne@cisco.com>2022-04-11 07:22:26 +0000
commitc73984a0fcc8229e698c315524067e8aa3673b48 (patch)
tree8e1e7d7c08a24a6f0689ce60d6a8bae7a45a22dc /src/vnet/devices/af_packet/device.c
parent9a93bc14b524300e0933c2d858870bdbe02b05b3 (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/device.c')
-rw-r--r--src/vnet/devices/af_packet/device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/device.c b/src/vnet/devices/af_packet/device.c
index 4e4913a071a..1e177f625b2 100644
--- a/src/vnet/devices/af_packet/device.c
+++ b/src/vnet/devices/af_packet/device.c
@@ -97,6 +97,8 @@ format_af_packet_device (u8 * s, va_list * args)
s = format (s, "\n%Uqdisc-bpass-enabled", format_white_space, indent + 2);
if (apif->is_cksum_gso_enabled)
s = format (s, "\n%Ucksum-gso-enabled", format_white_space, indent + 2);
+ if (apif->is_fanout_enabled)
+ s = format (s, "\n%Ufanout-enabled", format_white_space, indent + 2);
vec_foreach (rx_queue, apif->rx_queues)
{