acrn-kernel/tools/bpf/bpftool
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
..
Documentation
bash-completion
skeleton
.gitignore
Makefile
btf.c
btf_dumper.c
cfg.c
cfg.h
cgroup.c
common.c
feature.c
gen.c
iter.c
jit_disasm.c
json_writer.c
json_writer.h
link.c
main.c
main.h tools/bpf: Add xdp set command for md btf 2023-03-13 19:11:09 +05:30
map.c
map_perf_ring.c
net.c tools/bpf: Add xdp set command for md btf 2023-03-13 19:11:09 +05:30
netlink_dumper.c
netlink_dumper.h
perf.c
pids.c
prog.c
struct_ops.c
tracelog.c
xdp.c tools/bpf: Add xdp set command for md btf 2023-03-13 19:11:09 +05:30
xlated_dumper.c
xlated_dumper.h