lkml.org 
[lkml]   [2017]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/2] tun: allow to attach eBPF filter
Date
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

\
 
 \ /
  Last update: 2017-12-29 03:45    [W:0.036 / U:3.672 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site