Re: [PATCH iproute2 -net-next] lwt: BPF support for LWT

2016-12-13 Thread Thomas Graf
On 13 December 2016 at 00:41, Stephen Hemminger wrote: > I went ahead and fixed these. Thanks for fixing it up Stephen.

Re: [PATCH iproute2 -net-next] lwt: BPF support for LWT

2016-12-13 Thread Stephen Hemminger
On Mon, 12 Dec 2016 01:14:35 +0100 Daniel Borkmann wrote: > + > +static int lwt_parse_bpf(struct rtattr *rta, size_t len, int *argcp, char > ***argvp, > + int attr, const enum bpf_prog_type bpf_type) Please break long lines like this. > + > + /* argv is currently the

[PATCH iproute2 -net-next] lwt: BPF support for LWT

2016-12-11 Thread Daniel Borkmann
From: Thomas Graf Adds support to configure BPF programs as nexthop actions via the LWT framework. Example: ip route add 192.168.253.2/32 \ encap bpf out obj lwt_len_hist_kern.o section len_hist \ dev veth0 Signed-off-by: Thomas Graf --- include/bpf_api.h | 5 ++ ip/iprout