OSDN Git Service

tun: add eBPF based queue selection method
authorJason Wang <jasowang@redhat.com>
Mon, 4 Dec 2017 09:31:23 +0000 (17:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 17:01:49 +0000 (12:01 -0500)
commit96f84061620c6325a2ca9a9a05b410e6461d03c3
treed4f12f063b4a9139880c52bfe7a721460cceb10e
parentf520957dc26bfd9ddc6e488d2ddaac3e4ac22576
tun: add eBPF based queue selection method

This patch introduces an eBPF based queue selection method. With this,
the policy could be offloaded to userspace completely through a new
ioctl TUNSETSTEERINGEBPF.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
include/uapi/linux/if_tun.h