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>
32 lines
987 B
Diff
32 lines
987 B
Diff
From dc8b97b9ef327bcb295bc7a2d2e4ffaaca6ba1f0 Mon Sep 17 00:00:00 2001
|
|
From: Lijun Ou <oulijun@huawei.com>
|
|
Date: Fri, 22 Jan 2021 18:18:51 +0800
|
|
Subject: [PATCH 031/189] net/hns3: adjust format specifier for enum
|
|
|
|
Here uses %d as printing output for enumeration member.
|
|
|
|
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
|
|
Cc: stable@dpdk.org
|
|
|
|
Signed-off-by: Lijun Ou <oulijun@huawei.com>
|
|
---
|
|
drivers/net/hns3/hns3_flow.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
|
|
index e9d0a0b..3e387ac 100644
|
|
--- a/drivers/net/hns3/hns3_flow.c
|
|
+++ b/drivers/net/hns3/hns3_flow.c
|
|
@@ -1447,7 +1447,7 @@ hns3_parse_rss_algorithm(struct hns3_hw *hw, enum rte_eth_hash_function *func,
|
|
*hash_algo = HNS3_RSS_HASH_ALGO_SYMMETRIC_TOEP;
|
|
break;
|
|
default:
|
|
- hns3_err(hw, "Invalid RSS algorithm configuration(%u)",
|
|
+ hns3_err(hw, "Invalid RSS algorithm configuration(%d)",
|
|
algo_func);
|
|
return -EINVAL;
|
|
}
|
|
--
|
|
2.7.4
|
|
|