From 97c998c2813d7cea4a067a0b8ff246cad4924bf3 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 29 Oct 2019 16:11:09 -0400 Subject: docs: devices-- add FEATURES.yaml Type: docs Change-Id: I039ba9ad5385452b202366fba0b367506a21ea4f Signed-off-by: Paul Vinciguerra --- src/vnet/devices/tap/FEATURE.yaml | 10 ++++++++++ src/vnet/devices/tap/tap.c | 2 +- src/vnet/devices/tap/tapv2.api | 6 +++--- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 src/vnet/devices/tap/FEATURE.yaml (limited to 'src/vnet/devices/tap') diff --git a/src/vnet/devices/tap/FEATURE.yaml b/src/vnet/devices/tap/FEATURE.yaml new file mode 100644 index 00000000000..2ca6057b118 --- /dev/null +++ b/src/vnet/devices/tap/FEATURE.yaml @@ -0,0 +1,10 @@ +name: Tap Device +maintainer: damarion@cisco.com sluong@cisco.com sykazmi@cisco.com +features: + - Virtio +description: "Create a tap v2 device interface, which connects to a tap interface on the host system." +missing: + + - API dump filtering by sw_if_index +state: production +properties: [API, CLI, STATS, MULTITHREAD] diff --git a/src/vnet/devices/tap/tap.c b/src/vnet/devices/tap/tap.c index f2903a95adc..bc790adae75 100644 --- a/src/vnet/devices/tap/tap.c +++ b/src/vnet/devices/tap/tap.c @@ -198,7 +198,7 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args) _IOCTL (vif->tap_fd, TUNSETVNETHDRSZ, &hdrsz); _IOCTL (vif->fd, VHOST_SET_OWNER, 0); - /* if namespace is specified, all further netlink messages should be excuted + /* if namespace is specified, all further netlink messages should be executed after we change our net namespace */ if (args->host_namespace) { diff --git a/src/vnet/devices/tap/tapv2.api b/src/vnet/devices/tap/tapv2.api index 2d4d5c3497d..dee73043c0f 100644 --- a/src/vnet/devices/tap/tapv2.api +++ b/src/vnet/devices/tap/tapv2.api @@ -21,19 +21,19 @@ option version = "2.1.0"; -/** \brief Initialize a new tap interface with the given paramters +/** \brief Initialize a new tap interface with the given parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param id - interface id, 0xffffffff means auto @param use_random_mac - let the system generate a unique mac address - @param mac_address - mac addr to assign to the interface if use_radom not set + @param mac_address - mac addr to assign to the interface if use_random not set @param tx_ring_sz - the number of entries of TX ring @param rx_ring_sz - the number of entries of RX ring @param host_mac_addr_set - host side interface mac address should be set @param host_mac_addr - host side interface mac address @param host_if_name_set - host side interface name should be set @param host_if_name - host side interface name - @param host_namespace_set - host namespece should be set + @param host_namespace_set - host namespace should be set @param host_namespace - host namespace to attach interface to @param host_bridge_set - host bridge should be set @param host_bridge - host bridge to attach interface to -- cgit 1.2.3-korg