diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2024-11-06 17:13:02 +0100 |
---|---|---|
committer | Mohammed HAWARI <momohawari@gmail.com> | 2024-11-07 09:02:45 +0000 |
commit | 82569141943b1d04037282082cc47eb2b1c0556a (patch) | |
tree | 494268ca57fc66a5790afedcaac0c3de6b9a9023 /src/vnet/dev/format.c | |
parent | e0c4e6e32d9cd4b1b2c9647cd12a2e6214986e07 (diff) |
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 <mohammed@hawari.fr>
Diffstat (limited to 'src/vnet/dev/format.c')
-rw-r--r-- | src/vnet/dev/format.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 _ }; |