diff options
author | Jason Wang <jasowang@redhat.com> | 2017-12-04 17:31:23 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-05 12:01:49 -0500 |
commit | 96f84061620c6325a2ca9a9a05b410e6461d03c3 (patch) | |
tree | d4f12f063b4a9139880c52bfe7a721460cceb10e /include/uapi | |
parent | f520957dc26bfd9ddc6e488d2ddaac3e4ac22576 (diff) |
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>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/if_tun.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tun.h b/include/uapi/linux/if_tun.h index 030d3e6d6029..fb38c1797131 100644 --- a/include/uapi/linux/if_tun.h +++ b/include/uapi/linux/if_tun.h @@ -57,6 +57,7 @@ */ #define TUNSETVNETBE _IOW('T', 222, int) #define TUNGETVNETBE _IOR('T', 223, int) +#define TUNSETSTEERINGEBPF _IOR('T', 224, int) /* TUNSETIFF ifr flags */ #define IFF_TUN 0x0001 |