Thread (8 messages) 8 messages, 4 authors, 2017-12-08

Re: [PATCH net-next V3] tun: add eBPF based queue selection method

flat view

From: Jason Wang <hidden>
Date: 2017-12-06 02:30:33
Also in: lkml


On 2017年12月06日 01:02, David Miller wrote:
From: Jason Wang <redacted>
Date: Mon,  4 Dec 2017 17:31:23 +0800
quoted
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 <redacted>
---
Changes from V2:
- call rtnl during netdev free
- switch to use call_rcu() to prevent DOS from userspace
- drop the policies setting/getting ioctls and allow detach through
   passing -1 as fd
Applied, thanks Jason.

I really wish this driver had newlink/changelink support rather than
us adding all of these ioctls...
Yes, will add this in my todo list.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help