summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/api/dpdk.api
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-04-24 10:46:54 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-04-25 16:18:42 +0000
commit11b8dbf78af49d270a0e72abe7dea73eec30d85f (patch)
tree5c9c513483f5c468efcb64b82c03c32733dc3a77 /src/plugins/dpdk/api/dpdk.api
parent45d3496f3d86ee1a930ce0ffd6ca3d1730355eb8 (diff)
"autoreply" flag: autogenerate standard xxx_reply_t messages
Change-Id: I72298aaae7d172082ece3a8edea4217c11b28d79 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/dpdk/api/dpdk.api')
-rw-r--r--src/plugins/dpdk/api/dpdk.api35
1 files changed, 4 insertions, 31 deletions
diff --git a/src/plugins/dpdk/api/dpdk.api b/src/plugins/dpdk/api/dpdk.api
index 21215d456a3..d43f8a36c4a 100644
--- a/src/plugins/dpdk/api/dpdk.api
+++ b/src/plugins/dpdk/api/dpdk.api
@@ -21,7 +21,7 @@
@param pipe - pipe ID within its subport
@param profile - pipe profile ID
*/
-define sw_interface_set_dpdk_hqos_pipe {
+autoreply define sw_interface_set_dpdk_hqos_pipe {
u32 client_index;
u32 context;
u32 sw_if_index;
@@ -30,15 +30,6 @@ define sw_interface_set_dpdk_hqos_pipe {
u32 profile;
};
-/** \brief DPDK interface HQoS pipe profile set reply
- @param context - sender context, to match reply w/ request
- @param retval - request return code
-*/
-define sw_interface_set_dpdk_hqos_pipe_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief DPDK interface HQoS subport parameters set request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -49,7 +40,7 @@ define sw_interface_set_dpdk_hqos_pipe_reply {
@param tc_rate - subport traffic class 0 .. 3 rates (measured in bytes/second)
@param tc_period - enforcement period for rates (measured in milliseconds)
*/
-define sw_interface_set_dpdk_hqos_subport {
+autoreply define sw_interface_set_dpdk_hqos_subport {
u32 client_index;
u32 context;
u32 sw_if_index;
@@ -60,15 +51,6 @@ define sw_interface_set_dpdk_hqos_subport {
u32 tc_period;
};
-/** \brief DPDK interface HQoS subport parameters set reply
- @param context - sender context, to match reply w/ request
- @param retval - request return code
-*/
-define sw_interface_set_dpdk_hqos_subport_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief DPDK interface HQoS tctbl entry set request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -77,7 +59,7 @@ define sw_interface_set_dpdk_hqos_subport_reply {
@param tc - traffic class (0 .. 3)
@param queue - traffic class queue (0 .. 3)
*/
-define sw_interface_set_dpdk_hqos_tctbl {
+autoreply define sw_interface_set_dpdk_hqos_tctbl {
u32 client_index;
u32 context;
u32 sw_if_index;
@@ -86,18 +68,9 @@ define sw_interface_set_dpdk_hqos_tctbl {
u32 queue;
};
-/** \brief DPDK interface HQoS tctbl entry set reply
- @param context - sender context, to match reply w/ request
- @param retval - request return code
-*/
-define sw_interface_set_dpdk_hqos_tctbl_reply {
- u32 context;
- i32 retval;
-};
-
/*
* Local Variables:
* eval: (c-set-style "gnu")
* End:
*/
- \ No newline at end of file
+