Re: [ovs-dev] [RFC PATCH] netdev-dpdk: Narrow down txq critical section.

2019-12-03 Thread David Marchand
On Tue, Dec 3, 2019 at 12:17 PM Ilya Maximets wrote: > > On 02.12.2019 17:24, David Marchand wrote: > > tx_lock protects the NIC/vhost queue from concurrent access. > > Move it closer to the parts it protects and let packets duplication (when > > source is not DPDK) and the egress policer run out

Re: [ovs-dev] [RFC PATCH] netdev-dpdk: Narrow down txq critical section.

2019-12-03 Thread Ilya Maximets
On 02.12.2019 17:24, David Marchand wrote: > tx_lock protects the NIC/vhost queue from concurrent access. > Move it closer to the parts it protects and let packets duplication (when > source is not DPDK) and the egress policer run out of it. > > Signed-off-by: David Marchand > --- > I caught

[ovs-dev] [RFC PATCH] netdev-dpdk: Narrow down txq critical section.

2019-12-02 Thread David Marchand
tx_lock protects the NIC/vhost queue from concurrent access. Move it closer to the parts it protects and let packets duplication (when source is not DPDK) and the egress policer run out of it. Signed-off-by: David Marchand --- I caught this by code review, but I imagine this could make the