summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/tap/tapv2.api
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-10-30 01:53:25 +0000
committerFlorin Coras <florin.coras@gmail.com>2019-11-12 23:52:36 +0000
commit44d06916b9654f393176e9fa85d0442184decbea (patch)
treeb388fda47c121f5e9c194448641a80b90e9ae6c2 /src/vnet/devices/tap/tapv2.api
parent867b9ec6abed648ad95e263b65eb1dd60835c17d (diff)
tap: Move client registration check to top
Type: fix Change-Id: I33dc4cf7b6c69f74c7bf4971ce59442678b878ef Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/devices/tap/tapv2.api')
-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 dee73043c0f..c11a07cf72a 100644
--- a/src/vnet/devices/tap/tapv2.api
+++ b/src/vnet/devices/tap/tapv2.api
@@ -55,7 +55,7 @@ define tap_create_v2
{
u32 client_index;
u32 context;
- u32 id;
+ u32 id [default= 0xffffffff] ;
u8 use_random_mac;
u8 mac_address[6];
u16 tx_ring_sz; /* optional, default is 256 entries, must be power of 2 */