diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2018-08-23 18:28:11 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-08-24 15:01:44 +0000 |
commit | 54f7c51fd5a1ea927a4df3a989f62afdf9d6c0c5 (patch) | |
tree | 497eeff8dda5c2fe13f1c92e6eaf48097f7c15ba /src/vnet/interface_funcs.h | |
parent | bb3768842e81c76c7cb390b71a0cc29d7098dcec (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_funcs.h')
-rw-r--r-- | src/vnet/interface_funcs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/interface_funcs.h b/src/vnet/interface_funcs.h index a8a41e364f4..557ed146a3a 100644 --- a/src/vnet/interface_funcs.h +++ b/src/vnet/interface_funcs.h @@ -354,6 +354,10 @@ clib_error_t *set_hw_interface_change_rx_mode (vnet_main_t * vnm, vnet_hw_interface_rx_mode mode); +/* Set rx-placement on the interface */ +clib_error_t *set_hw_interface_rx_placement (u32 hw_if_index, u32 queue_id, + u32 thread_index, u8 is_main); + /* Set the MTU on the HW interface */ void vnet_hw_interface_set_mtu (vnet_main_t * vnm, u32 hw_if_index, u32 mtu); |