FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
src/vnet/devices/tap

create tap

Summary/usage

create tap {id <if-id>} [hw-addr <mac-address>] [num-rx-queues <n>] [rx-ring-size <size>] [tx-ring-size <size>] [host-ns <netns>] [host-bridge <bridge-name>] [host-ip4-addr <ip4addr/mask>] [host-ip6-addr <ip6-addr>] [host-ip4-gw <ip4-addr>] [host-ip6-gw <ip6-addr>] [host-mac-addr <host-mac-address>] [host-if-name <name>] [host-mtu-size <size>] [no-gso|gso|csum-offload|gro-coalesce] [persist] [attach] [tun].

Declaration and implementation

Declaration: tap_create_command (src/vnet/devices/tap/cli.c line 135)

Implementation: tap_create_command_fn.

delete tap

Summary/usage

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

Declaration and implementation

Declaration: tap_delete__command (src/vnet/devices/tap/cli.c line 189)

Implementation: tap_delete_command_fn.

set tap offload

Summary/usage

set tap offload {<interface> | sw_if_index <sw_idx>} <gso-enable | gso-disable | csum-offload-enable | csum-offload-disable>.

Declaration and implementation

Declaration: tap_offload_command (src/vnet/devices/tap/cli.c line 255)

Implementation: tap_offload_command_fn.