aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Wells <iawells@cisco.com>2018-06-18 13:53:17 -0700
committerFlorin Coras <florin.coras@gmail.com>2018-06-22 02:59:35 +0000
commitd600ffe13a0f8f5d11fdea6ab7b24a364c968347 (patch)
tree2ccd1705c09894bc46682d89b5247a3198dbd706 /src
parentcef1e2a8b49306fc1347d97b6d74255923292edf (diff)
Update tapv2 documentation
The documentation in the API file says that 0xffff == 'no interface ID specified' but the code tests against ~(u32)0. Change-Id: I5cd83d876c3ad4f53a5b01463299d4fcb806ea98 Signed-off-by: Ian Wells <iawells@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/devices/tap/tapv2.api2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/tap/tapv2.api b/src/vnet/devices/tap/tapv2.api
index 167b7a601a1..e65102ce777 100644
--- a/src/vnet/devices/tap/tapv2.api
+++ b/src/vnet/devices/tap/tapv2.api
@@ -24,7 +24,7 @@ option version = "2.0.0";
/** \brief Initialize a new tap interface with the given paramters
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
- @param id - interface id, 0xffff means auto
+ @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 tx_ring_sz - the number of entries of TX ring