summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device
diff options
context:
space:
mode:
authorEyal Bari <ebari@cisco.com>2017-12-04 14:04:57 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-12-04 13:51:40 +0000
commitf4d5fb71cccc281e11cd95eee691232cde142ead (patch)
tree51464ac48406796429e2e97eef5407b95c8f51b1 /src/plugins/dpdk/device
parente266ea3795747910127e189c5d341b93bb778091 (diff)
dpdk: remove unused cached eth input node
Change-Id: Ic43c70bfe3e93cb3e6cfab7cda1986e44e371c06 Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device')
-rw-r--r--src/plugins/dpdk/device/dpdk.h3
-rwxr-xr-xsrc/plugins/dpdk/device/init.c7
2 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index c3c98f882e7..69dd5b68b57 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -364,9 +364,6 @@ typedef struct
/* vlib buffer free list, must be same size as an rte_mbuf */
u32 vlib_buffer_free_list_index;
- /* Ethernet input node index */
- u32 ethernet_input_node_index;
-
/* pcap tracing [only works if (CLIB_DEBUG > 0)] */
int tx_pcap_enable;
pcap_main_t pcap_main;
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 416f62d59f7..767a7a4c9a7 100755
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -1558,7 +1558,6 @@ static clib_error_t *
dpdk_init (vlib_main_t * vm)
{
dpdk_main_t *dm = &dpdk_main;
- vlib_node_t *ei;
clib_error_t *error = 0;
vlib_thread_main_t *tm = vlib_get_thread_main ();
@@ -1575,12 +1574,6 @@ dpdk_init (vlib_main_t * vm)
dm->vnet_main = vnet_get_main ();
dm->conf = &dpdk_config_main;
- ei = vlib_get_node_by_name (vm, (u8 *) "ethernet-input");
- if (ei == 0)
- return clib_error_return (0, "ethernet-input node AWOL");
-
- dm->ethernet_input_node_index = ei->index;
-
dm->conf->nchannels = 4;
dm->conf->num_mbufs = dm->conf->num_mbufs ? dm->conf->num_mbufs : NB_MBUF;
vec_add1 (dm->conf->eal_init_args, (u8 *) "vnet");