Tap cli reference

create tap

create tap {id <if-id>} [hw-addr <mac-address>] [num-rx-queues <n>] [num-tx-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 [gro-coalesce]|csum-offload] [persist] [attach] [tun] [packed] [in-order]

Declaration: tap_create_command src/vnet/devices/tap/cli.c line 140

Implementation: tap_create_command_fn

delete tap

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

Declaration: tap_delete__command src/vnet/devices/tap/cli.c line 195

Implementation: tap_delete_command_fn

set tap offload

set tap offload {<interface> | sw_if_index <sw_idx>} <gso-enable [gro-coalesce]  | gso-disable | csum-offload-enable |csum-offload-disable>

Declaration: tap_offload_command src/vnet/devices/tap/cli.c line 265

Implementation: tap_offload_command_fn