Subject: Re: [PATCH iproute2 -next v2] tc: built-in eBPF exec proxy

From: Daniel Borkmann <[email-masked]>
Date: Tue, 28 Apr 2015 09:45:08 +0200

On 04/28/2015 01:41 AM, Stephen Hemminger wrote:
...
> This will go in for 4.1 version of iproute2.

Ok, thanks!

Btw, I noticed that we still need a header rebase for the 'master'
branch.

Due to the merge window, eBPF support for tracing came in as well
meaning currently, the kernel thinks we intend to attach a kprobe
program from tc side:

iproute2 version:

   enum bpf_prog_type {
     BPF_PROG_TYPE_UNSPEC,
     BPF_PROG_TYPE_SOCKET_FILTER,
     BPF_PROG_TYPE_SCHED_CLS,
     BPF_PROG_TYPE_SCHED_ACT,
   };

kernel version (include/uapi/linux/bpf.h):

   enum bpf_prog_type {
     BPF_PROG_TYPE_UNSPEC,
     BPF_PROG_TYPE_SOCKET_FILTER,
     BPF_PROG_TYPE_KPROBE,
     BPF_PROG_TYPE_SCHED_CLS,
     BPF_PROG_TYPE_SCHED_ACT,
   };

Afaik, you have a script for doing that, otherwise I can also send
you a patch.

Thanks,
Daniel