From: Huisong Li Date: Wed, 28 Apr 2021 06:40:46 +0000 (+0800) Subject: app/testpmd: remove redundant forwarding initialization X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=50db4db5785c4f7f5428f66c6487fd7f705c82b7;p=dpdk.git app/testpmd: remove redundant forwarding initialization The fwd_config_setup() is called after init_fwd_streams(). The fwd_config_setup() will reinitialize forwarding streams. This patch removes init_fwd_streams() from init_config(). Signed-off-by: Huisong Li Signed-off-by: Lijun Ou Acked-by: Xiaoyun Li --- diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index abcbdaa6e1..8ed1b97dec 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1576,10 +1576,6 @@ init_config(void) fwd_lcores[lc_id]->gso_ctx.flag = 0; } - /* Configuration of packet forwarding streams. */ - if (init_fwd_streams() < 0) - rte_exit(EXIT_FAILURE, "FAIL from init_fwd_streams()\n"); - fwd_config_setup(); /* create a gro context for each lcore */