From 0d05c0d214ffd326e531bea58f3c971bb9a58252 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Tue, 9 Nov 2021 17:44:10 +0000 Subject: interface: add multi tx-queues support for new tx infra Type: feature Change-Id: I231f782b3c56dc2b10321e4569ac7acdad1c11da Signed-off-by: Mohsin Kazmi --- src/vnet/interface_format.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vnet/interface_format.c') diff --git a/src/vnet/interface_format.c b/src/vnet/interface_format.c index 4acd6ab63e6..cb428e761be 100644 --- a/src/vnet/interface_format.c +++ b/src/vnet/interface_format.c @@ -212,6 +212,9 @@ format_vnet_hw_interface (u8 * s, va_list * args) if (vec_len (hi->tx_queue_indices)) { s = format (s, "\n%UTX Queues:", format_white_space, indent + 2); + s = format ( + s, "\n%UTX Hash: %U", format_white_space, indent + 4, format_vnet_hash, + vnet_hash_function_from_func (hi->hf, hw_class->tx_hash_fn_type)); s = format (s, "\n%U%-6s%-7s%-15s", format_white_space, indent + 4, "queue", "shared", "thread(s)"); for (int i = 0; i < vec_len (hi->tx_queue_indices); i++) -- cgit 1.2.3-korg