aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-06 13:12:29 +0100
committerOle Trøan <otroan@employees.org>2019-12-12 08:55:25 +0000
commitb644eb54f268b7cd321bdd35632b31112c6783c6 (patch)
treef0be75a9f501c630934404400fcdd9b83cc819bf
parent4f85968a43d3de253e7d69bb0d03e542e4a27f9c (diff)
rdma: add explicit types in api
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I80c674b73b7f86cf159b8779aab31a87b20def9a
-rw-r--r--src/plugins/rdma/rdma.api5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/rdma/rdma.api b/src/plugins/rdma/rdma.api
index f04eee2456e..a24c4fc7e21 100644
--- a/src/plugins/rdma/rdma.api
+++ b/src/plugins/rdma/rdma.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
@@ -50,7 +51,7 @@ define rdma_create_reply
{
u32 context;
i32 retval;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
/** \brief
@@ -64,7 +65,7 @@ autoreply define rdma_delete
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
option vat_help = "<sw_if_index index>";
};