summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/device.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-04-05 12:03:47 +0000
committerBeno�t Ganne <bganne@cisco.com>2022-04-06 11:42:08 +0000
commit2b6479c07ed67940e47a676f3386a2df21c16655 (patch)
tree7163e8b0930a2bcd1808c19ec88d919aef94be8a /src/vnet/devices/af_packet/device.c
parenteecec8ceba7dcd572ff557726e7e253488b13656 (diff)
devices: add cli support to disable qdisc bypass
Type: improvement Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Ie5f2bdb8fb559680bab863a7c24a49360e005b58
Diffstat (limited to 'src/vnet/devices/af_packet/device.c')
-rw-r--r--src/vnet/devices/af_packet/device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/device.c b/src/vnet/devices/af_packet/device.c
index 013d9f71733..214aa019a6b 100644
--- a/src/vnet/devices/af_packet/device.c
+++ b/src/vnet/devices/af_packet/device.c
@@ -92,6 +92,9 @@ format_af_packet_device (u8 * s, va_list * args)
af_packet_queue_t *tx_queue = 0;
s = format (s, "Linux PACKET socket interface");
+ s = format (s, "\n%UFEATURES:", format_white_space, indent);
+ if (apif->is_qdisc_bypass_enabled)
+ s = format (s, "\n%Uqdisc-bpass-enabled", format_white_space, indent + 2);
vec_foreach (rx_queue, apif->rx_queues)
{