]> git.baikalelectronics.ru Git - kernel.git/commit
xsk: simplify xdp_clear_umem_at_qid implementation
authorMagnus Karlsson <magnus.karlsson@intel.com>
Mon, 1 Oct 2018 12:51:37 +0000 (14:51 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 5 Oct 2018 07:31:01 +0000 (09:31 +0200)
commit3939828c7ff50db1d35324c32ed34f61e96eeb0d
tree0b48b06adbcd305542c9e6d526bebdc522d8343a
parent6644844d94801bdfc483aa246ab8eb838f13b3f7
xsk: simplify xdp_clear_umem_at_qid implementation

As we now do not allow ethtool to deactivate the queue id we are
running an AF_XDP socket on, we can simplify the implementation of
xdp_clear_umem_at_qid().

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/xdp/xdp_umem.c