Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
marvell: use explicit types in api
[vpp.git]
/
src
/
plugins
/
marvell
/
pp2
/
pp2.api
diff --git
a/src/plugins/marvell/pp2/pp2.api
b/src/plugins/marvell/pp2/pp2.api
index
2925e69
..
49913ff
100644
(file)
--- a/
src/plugins/marvell/pp2/pp2.api
+++ b/
src/plugins/marvell/pp2/pp2.api
@@
-17,6
+17,7
@@
option version = "1.0.0";
option version = "1.0.0";
+import "vnet/interface_types.api";
/** \brief
@param client_index - opaque cookie to identify the sender
/** \brief
@param client_index - opaque cookie to identify the sender
@@
-30,7
+31,7
@@
define mrvl_pp2_create
u32 client_index;
u32 context;
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>]";
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 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 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>";
};
option vat_help = "sw_if_index <sw_if_index>";
};