commit | 343dc90854978170842351683a1086e8ec9f53ed | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Thu Oct 08 15:22:05 2015 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Mon Oct 12 09:44:52 2015 -0700 |
tree | e8d1312e004e3f8bef9ed91333bc212141b5bdf4 | |
parent | b8c753245bad3f13a03b105b724ff406d278c753 [diff] |
m_bpf: don't require default opcode on ebpf actions 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 "pass" for matching cmdline on TC_ACT_OK. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>