rdma: add explicit types in api

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I80c674b73b7f86cf159b8779aab31a87b20def9a
This commit is contained in:
Ole Troan
2019-12-06 13:12:29 +01:00
committed by Ole Trøan
parent 4f85968a43
commit b644eb54f2

View File

@ -16,6 +16,7 @@
*/ */
option version = "1.0.0"; option version = "1.0.0";
import "vnet/interface_types.api";
/** \brief /** \brief
@param client_index - opaque cookie to identify the sender @param client_index - opaque cookie to identify the sender
@ -50,7 +51,7 @@ define rdma_create_reply
{ {
u32 context; u32 context;
i32 retval; i32 retval;
u32 sw_if_index; vl_api_interface_index_t sw_if_index;
}; };
/** \brief /** \brief
@ -64,7 +65,7 @@ autoreply define rdma_delete
u32 client_index; u32 client_index;
u32 context; u32 context;
u32 sw_if_index; vl_api_interface_index_t sw_if_index;
option vat_help = "<sw_if_index index>"; option vat_help = "<sw_if_index index>";
}; };