Re: [PATCH net-next 0/3] xsk: improvements to RX queue check and replace

2018-07-31 Thread David Miller
From: Daniel Borkmann Date: Tue, 31 Jul 2018 09:50:12 +0200 > On 07/31/2018 05:43 AM, Jakub Kicinski wrote: >> Hi! >> >> First 3 patches of my recent RFC. The first one make the check against >> real_num_rx_queues slightly more reliable, while the latter two redefine >> XDP_QUERY_XSK_UMEM sligh

Re: [PATCH net-next 0/3] xsk: improvements to RX queue check and replace

2018-07-31 Thread Daniel Borkmann
On 07/31/2018 05:43 AM, Jakub Kicinski wrote: > Hi! > > First 3 patches of my recent RFC. The first one make the check against > real_num_rx_queues slightly more reliable, while the latter two redefine > XDP_QUERY_XSK_UMEM slightly to disallow replacing UMEM in the driver at > the stack level. >

Re: [PATCH net-next 0/3] xsk: improvements to RX queue check and replace

2018-07-30 Thread Björn Töpel
Den tis 31 juli 2018 kl 05:46 skrev Jakub Kicinski : > > Hi! > > First 3 patches of my recent RFC. The first one make the check against > real_num_rx_queues slightly more reliable, while the latter two redefine > XDP_QUERY_XSK_UMEM slightly to disallow replacing UMEM in the driver at > the stack l

[PATCH net-next 0/3] xsk: improvements to RX queue check and replace

2018-07-30 Thread Jakub Kicinski
Hi! First 3 patches of my recent RFC. The first one make the check against real_num_rx_queues slightly more reliable, while the latter two redefine XDP_QUERY_XSK_UMEM slightly to disallow replacing UMEM in the driver at the stack level. I'm not sure where this lays on the bpf vs net trees scale,