summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dpdk')
-rwxr-xr-xsrc/plugins/dpdk/device/init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 6f51ff64bc1..2d21bfd91ca 100755
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -704,8 +704,8 @@ dpdk_lib_init (dpdk_main_t * dm)
sw = vnet_get_hw_sw_interface (dm->vnet_main, xd->hw_if_index);
xd->vlib_sw_if_index = sw->sw_if_index;
- vnet_set_device_input_node (dm->vnet_main, xd->hw_if_index,
- dpdk_input_node.index);
+ vnet_hw_interface_set_input_node (dm->vnet_main, xd->hw_if_index,
+ dpdk_input_node.index);
if (devconf->workers)
{
@@ -713,7 +713,7 @@ dpdk_lib_init (dpdk_main_t * dm)
q = 0;
/* *INDENT-OFF* */
clib_bitmap_foreach (i, devconf->workers, ({
- vnet_device_input_assign_thread (dm->vnet_main, xd->hw_if_index, q++,
+ vnet_hw_interface_assign_rx_thread (dm->vnet_main, xd->hw_if_index, q++,
vdm->first_worker_thread_index + i);
}));
/* *INDENT-ON* */
@@ -721,8 +721,8 @@ dpdk_lib_init (dpdk_main_t * dm)
else
for (q = 0; q < xd->rx_q_used; q++)
{
- vnet_device_input_assign_thread (dm->vnet_main, xd->hw_if_index, q, /* any */
- ~1);
+ vnet_hw_interface_assign_rx_thread (dm->vnet_main, xd->hw_if_index, q, /* any */
+ ~1);
}
hi = vnet_get_hw_interface (dm->vnet_main, xd->hw_if_index);