You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some network devices report fewer TX queues than the number of datapath
workers. Cap the TX queue count to the device maximum and distribute
workers across available queues using modulo assignment.
When multiple workers share the same TX queue, protect rte_eth_tx_burst()
with a per-queue spinlock stored in iface_info_port. The lock pointer in
tx_node_ctx is only set for shared queues to avoid locking overhead when
a worker has exclusive access.
Update unit tests to set max_tx_queues in the mock device info and
adjust expected TX queue assignments for modulo wrapping.
Signed-off-by: Robin Jarry <rjarry@redhat.com>
0 commit comments