From 82569141943b1d04037282082cc47eb2b1c0556a Mon Sep 17 00:00:00 2001 From: Mohammed Hawari Date: Wed, 6 Nov 2024 17:13:02 +0100 Subject: dev: introduce consistent_qp feature For some devices, queues are organized as pairs (rx/tx). In this case, it is desirable that a worker receives packet and send packets for the same pair. This patch enables this by assigning txq to workers first and ending with main. Change-Id: I3de4afbf74a265d5275c6a5d9a905b51dd661b22 Type: feature Signed-off-by: Mohammed Hawari --- src/vnet/dev/format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/dev/format.c') diff --git a/src/vnet/dev/format.c b/src/vnet/dev/format.c index bde245cafee..fb46fcc47bc 100644 --- a/src/vnet/dev/format.c +++ b/src/vnet/dev/format.c @@ -319,7 +319,7 @@ unformat_vnet_dev_port_flags (unformat_input_t *input, va_list *args) #undef _ }; u64 flag_values[] = { -#define _(b, n, d) 1ull << (b) +#define _(b, n, d) 1ull << (b), foreach_vnet_dev_port_flag #undef _ }; @@ -395,7 +395,7 @@ format_vnet_dev_port_flags (u8 *s, va_list *args) #undef _ }; u64 flag_values[] = { -#define _(b, n, d) 1ull << (b) +#define _(b, n, d) 1ull << (b), foreach_vnet_dev_port_flag #undef _ }; -- cgit 1.2.3-korg