aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-06 13:20:43 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-12-06 14:08:11 +0000
commit6d75c20a6babe71cd1c843dd122d26dd37e0bb33 (patch)
tree9e1f2435a65f814962f6986d2909dd2679712d83 /src/plugins/dpdk
parentd4efce2e0ce11b3ae9d010b043241ee91e95a92a (diff)
dpdk: use explicit types in api
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Iff7e995499e422003147342ff14de483d807b3f3
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/api/dpdk.api7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/dpdk/api/dpdk.api b/src/plugins/dpdk/api/dpdk.api
index 6bce2d07a39..40bc7369af4 100644
--- a/src/plugins/dpdk/api/dpdk.api
+++ b/src/plugins/dpdk/api/dpdk.api
@@ -14,6 +14,7 @@
*/
option version = "1.0.0";
+import "vnet/interface_types.api";
/** \brief DPDK interface HQoS pipe profile set request
@param client_index - opaque cookie to identify the sender
@@ -26,7 +27,7 @@ option version = "1.0.0";
autoreply define sw_interface_set_dpdk_hqos_pipe {
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
u32 subport;
u32 pipe;
u32 profile;
@@ -46,7 +47,7 @@ autoreply define sw_interface_set_dpdk_hqos_pipe {
autoreply define sw_interface_set_dpdk_hqos_subport {
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
u32 subport;
u32 tb_rate;
u32 tb_size;
@@ -66,7 +67,7 @@ autoreply define sw_interface_set_dpdk_hqos_subport {
autoreply define sw_interface_set_dpdk_hqos_tctbl {
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
u32 entry;
u32 tc;
u32 queue;