Re: [PATCH bpf] xdp: fix race on generic receive path

2019-07-03 Thread Ilya Maximets
On 03.07.2019 3:40, Jakub Kicinski wrote: > On Tue, 2 Jul 2019 17:36:34 +0300, Ilya Maximets wrote: >> Unlike driver mode, generic xdp receive could be triggered >> by different threads on different CPU cores at the same time >> leading to the fill and rx queue breakage. For example, this >> could

Re: [PATCH bpf] xdp: fix race on generic receive path

2019-07-02 Thread Jakub Kicinski
On Tue, 2 Jul 2019 17:36:34 +0300, Ilya Maximets wrote: > Unlike driver mode, generic xdp receive could be triggered > by different threads on different CPU cores at the same time > leading to the fill and rx queue breakage. For example, this > could happen while sending packets from two processes

Re: [PATCH bpf] xdp: fix race on generic receive path

2019-07-02 Thread Ilya Maximets
On 02.07.2019 18:01, Magnus Karlsson wrote: > On Tue, Jul 2, 2019 at 4:36 PM Ilya Maximets wrote: >> >> Unlike driver mode, generic xdp receive could be triggered >> by different threads on different CPU cores at the same time >> leading to the fill and rx queue breakage. For example, this >> coul

Re: [PATCH bpf] xdp: fix race on generic receive path

2019-07-02 Thread Magnus Karlsson
On Tue, Jul 2, 2019 at 4:36 PM Ilya Maximets wrote: > > Unlike driver mode, generic xdp receive could be triggered > by different threads on different CPU cores at the same time > leading to the fill and rx queue breakage. For example, this > could happen while sending packets from two processes t