Thread (8 messages) 8 messages, 5 authors, 2018-07-31

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

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-07-31 09:29:17

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.

I'm not sure where this lays on the bpf vs net trees scale, but there
should be no conflicts with either tree.
I'm fine either way, in any case, series looks good to me:

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Jakub Kicinski (3):
  net: update real_num_rx_queues even when !CONFIG_SYSFS
  xsk: refactor xdp_umem_assign_dev()
  xsk: don't allow umem replace at stack level

 include/linux/netdevice.h | 10 +++---
 net/xdp/xdp_umem.c        | 70 +++++++++++++++++++++++----------------
 2 files changed, 47 insertions(+), 33 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help