From: Ian Wells Date: Mon, 18 Jun 2018 20:53:17 +0000 (-0700) Subject: Update tapv2 documentation X-Git-Tag: v18.07-rc1~131 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=d600ffe 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 --- 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