FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
src/plugins/af_xdp

create interface af_xdp

Summary/usage

create interface af_xdp <host-if linux-ifname> [name ifname] [rx-queue-size size] [tx-queue-size size] [num-rx-queues <num|all>] [prog pathname] [zero-copy|no-zero-copy] [no-syscall-lock].

Declaration and implementation

Declaration: af_xdp_create_command (src/plugins/af_xdp/cli.c line 48)

Implementation: af_xdp_create_command_fn.

delete interface af_xdp

Summary/usage

delete interface af_xdp {<interface> | sw_if_index <sw_idx>}.

Declaration and implementation

Declaration: af_xdp_delete_command (src/plugins/af_xdp/cli.c line 102)

Implementation: af_xdp_delete_command_fn.