Re: [PATCH iproute2 -next] m_bpf: don't require default opcode on ebpf actions

2015-10-12 Thread Stephen Hemminger
On Thu, 8 Oct 2015 15:22:05 +0200 Daniel Borkmann wrote: > After the patch, the most minimal command to load an eBPF action > for late binding with auto index selection through tc is: > > tc actions add action bpf obj prog.o > > We already set TC_ACT_PIPE in tc as default opcode, so if nothi

[PATCH iproute2 -next] m_bpf: don't require default opcode on ebpf actions

2015-10-08 Thread Daniel Borkmann
After the patch, the most minimal command to load an eBPF action for late binding with auto index selection through tc is: tc actions add action bpf obj prog.o We already set TC_ACT_PIPE in tc as default opcode, so if nothing further has been specified, just use it. Also, allow "ok" next to "pa