Re: [PATCH iproute2/master 00/11] bpf: pass ifindex for bpf offload

2017-11-26 Thread Stephen Hemminger
On Thu, 23 Nov 2017 18:11:57 -0800 Jakub Kicinski wrote: > Hi! > > This series allows us to pass ifindex automatically when we > set up TC cls_bpf or XDP offload. There is a fair bit of > refactoring to separate the parse and load stages of lib/bpf.c. > In case of

[PATCH iproute2/master 00/11] bpf: pass ifindex for bpf offload

2017-11-23 Thread Jakub Kicinski
Hi! This series allows us to pass ifindex automatically when we set up TC cls_bpf or XDP offload. There is a fair bit of refactoring to separate the parse and load stages of lib/bpf.c. In case of TC the skip_sw flag may come after the program arguments (e.g. "bpf obj prog.o da skip_sw"), so we