summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.api
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-08-23 18:28:11 +0200
committerDamjan Marion <dmarion@me.com>2018-08-24 15:01:44 +0000
commit54f7c51fd5a1ea927a4df3a989f62afdf9d6c0c5 (patch)
tree497eeff8dda5c2fe13f1c92e6eaf48097f7c15ba /src/vnet/interface.api
parentbb3768842e81c76c7cb390b71a0cc29d7098dcec (diff)
rx-placement: Add API call for interface rx-placement
Change-Id: I9228ce29e9d2fc862a2d076b4072bcdd728d6dd1 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/interface.api')
-rw-r--r--src/vnet/interface.api18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index b839e898bf2..f91af420f0a 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -432,6 +432,24 @@ autoreply define sw_interface_set_rx_mode
u8 mode;
};
+/** \brief Set an interface's rx-placement
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param sw_if_index - the interface whose rx-placement will be set
+ @param queue_id - the queue number whose rx-placement will be set.
+ @param worker_id - the worker number whom rx-placement will be at.
+ @param is_main - flag to set rx-placement to main thread
+*/
+autoreply define sw_interface_set_rx_placement
+{
+ u32 client_index;
+ u32 context;
+ u32 sw_if_index;
+ u32 queue_id;
+ u32 worker_id;
+ u8 is_main;
+};
+
/* Gross kludge, DGMS */
autoreply define interface_name_renumber
{