Update DPDK version from 19.11 to 20.11 and also support hns3 PMD for Kunpeng 920 and Kunpeng 930. Signed-off-by: speech_white <humin29@huawei.com>
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 998201309e193b7203ad6418c184993e0f61fc28 Mon Sep 17 00:00:00 2001
|
|
From: Huisong Li <lihuisong@huawei.com>
|
|
Date: Wed, 28 Apr 2021 14:40:46 +0800
|
|
Subject: [PATCH 188/189] 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 <lihuisong@huawei.com>
|
|
Signed-off-by: Lijun Ou <oulijun@huawei.com>
|
|
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
|
|
---
|
|
app/test-pmd/testpmd.c | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
|
|
index f9155ae..3098df6 100644
|
|
--- a/app/test-pmd/testpmd.c
|
|
+++ b/app/test-pmd/testpmd.c
|
|
@@ -1559,10 +1559,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 */
|
|
--
|
|
2.7.4
|
|
|