linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] tun: allow to attach eBPF filter
@ 2017-12-29  2:44 Jason Wang
  2017-12-29  2:44 ` [PATCH net-next 1/2] tuntap: rename struct tun_steering_prog to struct tun_prog Jason Wang
  2017-12-29  2:44 ` [PATCH net-next 2/2] tun: allow to attach ebpf socket filter Jason Wang
  0 siblings, 2 replies; 9+ messages in thread
From: Jason Wang @ 2017-12-29  2:44 UTC (permalink / raw)
  To: netdev, linux-kernel; +Cc: mst, willemb, Jason Wang

Hi all:

This series tries to implement eBPF socket filter for tun. This could
be used for implementing efficient virtio-net receive filter for
vhost-net.

Thanks

Jason Wang (2):
  tuntap: rename struct tun_steering_prog to struct tun_prog
  tun: allow to attach ebpf socket filter

 drivers/net/tun.c           | 58 ++++++++++++++++++++++++++++++++-------------
 include/uapi/linux/if_tun.h |  1 +
 2 files changed, 43 insertions(+), 16 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-01-04 15:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-29  2:44 [PATCH net-next 0/2] tun: allow to attach eBPF filter Jason Wang
2017-12-29  2:44 ` [PATCH net-next 1/2] tuntap: rename struct tun_steering_prog to struct tun_prog Jason Wang
2017-12-29  2:44 ` [PATCH net-next 2/2] tun: allow to attach ebpf socket filter Jason Wang
2017-12-31 10:14   ` Willem de Bruijn
2018-01-02  3:28     ` Jason Wang
2018-01-02  9:19       ` Willem de Bruijn
2018-01-03  2:53         ` Jason Wang
2018-01-04  7:28         ` Jason Wang
2018-01-04 15:06           ` Willem de Bruijn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).