aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/dev.h
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2024-11-06 17:13:02 +0100
committerMohammed HAWARI <momohawari@gmail.com>2024-11-07 09:02:45 +0000
commit82569141943b1d04037282082cc47eb2b1c0556a (patch)
tree494268ca57fc66a5790afedcaac0c3de6b9a9023 /src/vnet/dev/dev.h
parente0c4e6e32d9cd4b1b2c9647cd12a2e6214986e07 (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.h')
-rw-r--r--src/vnet/dev/dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/dev/dev.h b/src/vnet/dev/dev.h
index 57c6d09d181..76ff4f55b71 100644
--- a/src/vnet/dev/dev.h
+++ b/src/vnet/dev/dev.h
@@ -356,6 +356,7 @@ typedef struct vnet_dev_port
u8 feature_arc : 1;
u8 redirect_to_node : 1;
u8 default_is_intr_mode : 1;
+ u8 consistent_qp : 1;
u32 tx_node_index;
u32 hw_if_index;
u32 sw_if_index;