acrn-kernel/tools/bpf
Saeed Mahameed 367bf6516e tools/bpf: Add xdp set command for md btf
Introduce a new bpftool net subcommand and use it to report and set XDP
attributes:

$ /usr/local/sbin/bpftool net xdp help
Usage: /usr/local/sbin/bpftool net xdp { show | list | set | md_btf} [dev <devname>]
       /usr/local/sbin/bpftool xdp help

$ /usr/local/sbin/bpftool net xdp set dev mlx0 md_btf on

$ /usr/local/sbin/bpftool net xdp show
xdp:
mlx0(3) md_btf_id(1) md_btf_enabled(1)

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Signed-off-by: Aravindhan Gunasekaran <aravindhan.gunasekaran@intel.com>
2023-03-13 19:11:09 +05:30
..
bpftool tools/bpf: Add xdp set command for md btf 2023-03-13 19:11:09 +05:30
resolve_btfids tools/resolve_btfids: Add support for 8-byte BTF sets 2022-07-21 20:59:42 -07:00
runqslower tools: runqslower: Build and use lightweight bootstrap version of bpftool 2022-07-15 12:01:30 -07:00
.gitignore
Makefile tools bpf_jit_disasm: Don't display disassembler-four-args feature test 2022-08-01 15:31:51 -03:00
bpf_asm.c
bpf_dbg.c
bpf_exp.l
bpf_exp.y
bpf_jit_disasm.c tools bpf_jit_disasm: Fix compilation error with new binutils 2022-08-01 15:30:48 -03:00