diff options
author | Damjan Marion <damarion@cisco.com> | 2022-01-05 14:51:50 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-01-05 17:43:34 +0000 |
commit | 7c11bd7a87b901106bb14d40572fddc703b74e5b (patch) | |
tree | eec5734e2090ad25cf7ef5f96bd5dd55f3107ab0 /src/plugins/dpdk/device/device.c | |
parent | fdc874af1ea8be505cd5d88663215e4f4481a7a6 (diff) |
dpdk: move port config to single struct
Type: refactor
Change-Id: I0bce385c7e391fa2b74646d001980610f80f7062
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/device.c')
-rw-r--r-- | src/plugins/dpdk/device/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c index 187f531dcaa..f216bf05203 100644 --- a/src/plugins/dpdk/device/device.c +++ b/src/plugins/dpdk/device/device.c @@ -164,7 +164,7 @@ static_always_inline int queue_id; n_retry = 16; - queue_id = vm->thread_index % xd->tx_q_used; + queue_id = vm->thread_index % xd->conf.n_tx_queues; txq = vec_elt_at_index (xd->tx_queues, queue_id); do |