Re: [ovs-dev] [PATCH 4/5] dpif-netdev: Only reload static tx qid when needed.

2019-06-24 Thread Ian Stokes
On 5/23/2019 3:23 PM, David Marchand wrote: pmd->static_tx_qid is allocated under a mutex by the different pmd threads. Unconditionally reallocating it will make those pmd threads sleep when contention occurs. During "normal" reloads like for rebalancing queues between pmd threads, this can make

[ovs-dev] [PATCH 4/5] dpif-netdev: Only reload static tx qid when needed.

2019-05-23 Thread David Marchand
pmd->static_tx_qid is allocated under a mutex by the different pmd threads. Unconditionally reallocating it will make those pmd threads sleep when contention occurs. During "normal" reloads like for rebalancing queues between pmd threads, this can make pmd threads waste time on this. Reallocating t