dev: introduce consistent_qp feature 12/41812/5
authorMohammed Hawari <[email protected]>
Wed, 6 Nov 2024 16:13:02 +0000 (17:13 +0100)
committerMohammed HAWARI <[email protected]>
Thu, 7 Nov 2024 09:02:45 +0000 (09:02 +0000)
commit82569141943b1d04037282082cc47eb2b1c0556a
tree494268ca57fc66a5790afedcaac0c3de6b9a9023
parente0c4e6e32d9cd4b1b2c9647cd12a2e6214986e07
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 <[email protected]>
src/vnet/dev/api.c
src/vnet/dev/dev.api
src/vnet/dev/dev.h
src/vnet/dev/format.c
src/vnet/dev/port.c
src/vnet/dev/types.h