summaryrefslogtreecommitdiffstats
path: root/net/xdp/xdp_umem.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-07-31 05:43:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-31 18:48:21 +0200
commitc29c2ebd2ae0066c026045a21aa33ccbfcd8bb3c (patch)
treef28d1c0908110d3fbf8d84c1ea2c3b942fff9288 /net/xdp/xdp_umem.c
parentmlx5: handle DMA mapping error case for XDP redirect (diff)
downloadlinux-c29c2ebd2ae0066c026045a21aa33ccbfcd8bb3c.tar.xz
linux-c29c2ebd2ae0066c026045a21aa33ccbfcd8bb3c.zip
net: update real_num_rx_queues even when !CONFIG_SYSFS
We used to depend on real_num_rx_queues as a upper bound for sanity checks. For AF_XDP socket validation it's useful if the check behaves the same regardless of CONFIG_SYSFS setting. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xdp/xdp_umem.c')
0 files changed, 0 insertions, 0 deletions