367bf6516e
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> |
||
---|---|---|
.. | ||
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 | ||
map.c | ||
map_perf_ring.c | ||
net.c | ||
netlink_dumper.c | ||
netlink_dumper.h | ||
perf.c | ||
pids.c | ||
prog.c | ||
struct_ops.c | ||
tracelog.c | ||
xdp.c | ||
xlated_dumper.c | ||
xlated_dumper.h |