Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
thread: Add show threads api
[vpp.git]
/
src
/
plugins
/
dpdk
/
device
/
common.c
diff --git
a/src/plugins/dpdk/device/common.c
b/src/plugins/dpdk/device/common.c
index
c64f1d0
..
8699dc8
100644
(file)
--- a/
src/plugins/dpdk/device/common.c
+++ b/
src/plugins/dpdk/device/common.c
@@
-119,7
+119,7
@@
dpdk_device_setup (dpdk_device_t * xd)
dpdk_mempool_private_t *privp;
uword tidx = vnet_get_device_input_thread_index (dm->vnet_main,
xd->hw_if_index, j);
dpdk_mempool_private_t *privp;
uword tidx = vnet_get_device_input_thread_index (dm->vnet_main,
xd->hw_if_index, j);
- unsigned lcore = vlib_worker_threads[tidx].
lcore
_id;
+ unsigned lcore = vlib_worker_threads[tidx].
cpu
_id;
u16 socket_id = rte_lcore_to_socket_id (lcore);
rv =
u16 socket_id = rte_lcore_to_socket_id (lcore);
rv =