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)
commita41b4f3c58dddcb39b7072a97ac8cb9036ce53f6
tree0b48b06adbcd305542c9e6d526bebdc522d8343a
parent1661d346628115c364e2b7d5b15a64ca3bd0dbd4
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