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/dev.api | |
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/dev.api')
-rw-r--r-- | src/vnet/dev/dev.api | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/dev/dev.api b/src/vnet/dev/dev.api index 552b778949b..423d0ee8505 100644 --- a/src/vnet/dev/dev.api +++ b/src/vnet/dev/dev.api @@ -12,6 +12,7 @@ enumflag dev_flags : u32 enumflag dev_port_flags : u32 { VL_API_DEV_PORT_FLAG_INTERRUPT_MODE = 0x1, + VL_API_DEV_PORT_FLAG_CONSISTENT_QP = 0x2, }; autoendian define dev_attach |