Af_xdp cli reference
create interface af_xdp
create interface af_xdp <host-if linux-ifname> [name ifname] [rx-queue-size size] [tx-queue-size size] [num-rx-queues <num|all>] [prog <filename|pathname>] [netns ns] [zero-copy|no-zero-copy] [no-syscall-lock] [mac-reuse] [multi-buffer|no-multi-buffer]
prog: bare filename (e.g. xsk_def_xdp_prog.o) is searched in LIBXDP_OBJECT_PATH (/usr/lib/bpf); a path containing '/' (e.g. /path/to/prog.o) is opened directly from the filesystem
Declaration: af_xdp_create_command src/plugins/af_xdp/cli.c line 37
Implementation: af_xdp_create_command_fn
delete interface af_xdp
delete interface af_xdp {<interface> | sw_if_index <sw_idx>}
Declaration: af_xdp_delete_command src/plugins/af_xdp/cli.c line 93
Implementation: af_xdp_delete_command_fn