summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/init.c
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/init.c
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/init.c')
-rwxr-xr-xsrc/plugins/dpdk/device/init.c7
1 files changed, 0 insertions, 7 deletions
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");