net: xdp: added bpf_netdev_command XDP_{QUERY, SETUP}_XSK_UMEM
authorBjörn Töpel <bjorn.topel@intel.com>
Mon, 4 Jun 2018 12:05:53 +0000 (14:05 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 5 Jun 2018 13:46:04 +0000 (15:46 +0200)
commit74515c5750f30244a901c3c0c82a2fe534b3c9c5
tree678b921836c762ea358663945c57c041af43f35f
parent8aef7340ae9695912a411886452ae9773206e845
net: xdp: added bpf_netdev_command XDP_{QUERY, SETUP}_XSK_UMEM

Extend ndo_bpf with two new commands used for query zero-copy support
and register an UMEM to a queue_id of a netdev.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/netdevice.h