summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/node.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-03-11 14:57:42 +0100
committerDamjan Marion <damarion@cisco.com>2022-03-11 15:02:09 +0100
commit9652177bc12171bb7141ef7a92e0053204f7ed87 (patch)
treec8a23d8beb8803094e502f7f3a392212a8bf6db3 /src/plugins/dpdk/device/node.c
parent62d656ace95ea5002c6c5c8e2eddb2901d38ab6f (diff)
vlib: remoove unused field
Type: refactor Change-Id: Ieb7a595e40d801af5349c83b128fa92c7698a346 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/node.c')
-rw-r--r--src/plugins/dpdk/device/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/node.c b/src/plugins/dpdk/device/node.c
index e0ba517d2ce..0450c422154 100644
--- a/src/plugins/dpdk/device/node.c
+++ b/src/plugins/dpdk/device/node.c
@@ -542,7 +542,7 @@ VLIB_NODE_FN (dpdk_input_node) (vlib_main_t * vm, vlib_node_runtime_t * node,
dpdk_device_t *xd;
uword n_rx_packets = 0;
vnet_hw_if_rxq_poll_vector_t *pv;
- u32 thread_index = node->thread_index;
+ u32 thread_index = vm->thread_index;
/*
* Poll all devices on this cpu for input/interrupts.