aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-06 13:14:14 +0100
committerOle Trøan <otroan@employees.org>2019-12-12 13:35:10 +0000
commita0bf06d74caf6a99574a54201d14d836059ed2e9 (patch)
tree06edab7ebc8ea84e32be8b0ceb6331c4ea0fe919
parente6eaa24f156e908dcbb92209c4f50f8da8066d79 (diff)
avf: explicit types in api
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: If693e066eeb9312d4535893c279446dc43e8baa2
-rw-r--r--src/plugins/avf/avf.api5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/avf/avf.api b/src/plugins/avf/avf.api
index c7c4da9d19e..24e62ce0e14 100644
--- a/src/plugins/avf/avf.api
+++ b/src/plugins/avf/avf.api
@@ -16,6 +16,7 @@
*/
option version = "1.0.0";
+import "vnet/interface_types.api";
/** \brief
@param client_index - opaque cookie to identify the sender
@@ -51,7 +52,7 @@ define avf_create_reply
{
u32 context;
i32 retval;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
/** \brief
@@ -65,7 +66,7 @@ autoreply define avf_delete
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
option vat_help = "<sw_if_index>";
};