aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-08 13:30:30 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-12-09 12:43:56 +0000
commit4a65b910a1802103a8ded3e832aaf4f2065323b1 (patch)
tree012580f68b6f7f9ba09c6db6e0bc5736a947dea5 /src
parent55636cb623d3161da34120c01a666e36f3be7302 (diff)
marvell: use explicit types in api
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1af842f38f90d3ede971da74cd28179b61f613cf
Diffstat (limited to 'src')
-rw-r--r--src/plugins/marvell/pp2/pp2.api7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/marvell/pp2/pp2.api b/src/plugins/marvell/pp2/pp2.api
index 2925e69691a..49913ffa166 100644
--- a/src/plugins/marvell/pp2/pp2.api
+++ b/src/plugins/marvell/pp2/pp2.api
@@ -17,6 +17,7 @@
option version = "1.0.0";
+import "vnet/interface_types.api";
/** \brief
@param client_index - opaque cookie to identify the sender
@@ -30,7 +31,7 @@ define mrvl_pp2_create
u32 client_index;
u32 context;
- u8 if_name[64];
+ string if_name[64];
u16 rx_q_sz;
u16 tx_q_sz;
option vat_help = "[name <ifname>] [rx-queue-size <size>] [tx-queue-size <size>]";
@@ -46,7 +47,7 @@ define mrvl_pp2_create_reply
{
u32 context;
i32 retval;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
@@ -61,7 +62,7 @@ autoreply define mrvl_pp2_delete
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
option vat_help = "sw_if_index <sw_if_index>";
};