From d600ffe13a0f8f5d11fdea6ab7b24a364c968347 Mon Sep 17 00:00:00 2001 From: Ian Wells Date: Mon, 18 Jun 2018 13:53:17 -0700 Subject: 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 --- src/vnet/devices/tap/tapv2.api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/devices') 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 -- cgit 1.2.3-korg