patch 'net/hns3: register VLAN flow match mode parameter' has been queued to stable release 23.11.3
Xueming Li
xuemingl at nvidia.com
Sat Dec 7 08:59:21 CET 2024
Hi,
FYI, your patch has been queued to stable release 23.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/10/24. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=78b0870687c5a1f5991b3d140339ba02a2ca14e8
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 78b0870687c5a1f5991b3d140339ba02a2ca14e8 Mon Sep 17 00:00:00 2001
From: Chengwen Feng <fengchengwen at huawei.com>
Date: Fri, 18 Oct 2024 14:19:40 +0800
Subject: [PATCH] net/hns3: register VLAN flow match mode parameter
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit bf16032eb1e62338e02b1278e10033366448c5bc ]
This commit adds fdir_vlan_match_mode in RTE_PMD_REGISTER_PARAM_STRING.
Fixes: 06b9ee343940 ("net/hns3: add VLAN match mode runtime config")
Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
Signed-off-by: Jie Hai <haijie1 at huawei.com>
---
drivers/net/hns3/hns3_common.c | 2 +-
drivers/net/hns3/hns3_common.h | 2 +-
drivers/net/hns3/hns3_ethdev.c | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/hns3/hns3_common.c b/drivers/net/hns3/hns3_common.c
index 5e6cdfdaa0..7a36673c95 100644
--- a/drivers/net/hns3/hns3_common.c
+++ b/drivers/net/hns3/hns3_common.c
@@ -308,7 +308,7 @@ hns3_parse_devargs(struct rte_eth_dev *dev)
&hns3_parse_mbx_time_limit, &mbx_time_limit_ms);
if (!hns->is_vf)
(void)rte_kvargs_process(kvlist,
- HNS3_DEVARG_FDIR_VALN_MATCH_MODE,
+ HNS3_DEVARG_FDIR_VLAN_MATCH_MODE,
&hns3_parse_vlan_match_mode,
&hns->pf.fdir.vlan_match_mode);
diff --git a/drivers/net/hns3/hns3_common.h b/drivers/net/hns3/hns3_common.h
index cf9593bd0c..166852026f 100644
--- a/drivers/net/hns3/hns3_common.h
+++ b/drivers/net/hns3/hns3_common.h
@@ -27,7 +27,7 @@ enum {
#define HNS3_DEVARG_MBX_TIME_LIMIT_MS "mbx_time_limit_ms"
-#define HNS3_DEVARG_FDIR_VALN_MATCH_MODE "fdir_vlan_match_mode"
+#define HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "fdir_vlan_match_mode"
#define MSEC_PER_SEC 1000L
#define USEC_PER_MSEC 1000L
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index 6e72730d75..56adde3c66 100644
--- a/drivers/net/hns3/hns3_ethdev.c
+++ b/drivers/net/hns3/hns3_ethdev.c
@@ -6669,7 +6669,8 @@ RTE_PMD_REGISTER_PARAM_STRING(net_hns3,
HNS3_DEVARG_RX_FUNC_HINT "=vec|sve|simple|common "
HNS3_DEVARG_TX_FUNC_HINT "=vec|sve|simple|common "
HNS3_DEVARG_DEV_CAPS_MASK "=<1-65535> "
- HNS3_DEVARG_MBX_TIME_LIMIT_MS "=<uint16> ");
+ HNS3_DEVARG_MBX_TIME_LIMIT_MS "=<uint16> "
+ HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "=strict|nostrict ");
RTE_LOG_REGISTER_SUFFIX(hns3_logtype_init, init, NOTICE);
RTE_LOG_REGISTER_SUFFIX(hns3_logtype_driver, driver, NOTICE);
#ifdef RTE_ETHDEV_DEBUG_RX
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-12-06 23:26:44.247427224 +0800
+++ 0003-net-hns3-register-VLAN-flow-match-mode-parameter.patch 2024-12-06 23:26:43.843044829 +0800
@@ -1 +1 @@
-From bf16032eb1e62338e02b1278e10033366448c5bc Mon Sep 17 00:00:00 2001
+From 78b0870687c5a1f5991b3d140339ba02a2ca14e8 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit bf16032eb1e62338e02b1278e10033366448c5bc ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -46 +48 @@
-index 8b43d731ac..5c7d893736 100644
+index 6e72730d75..56adde3c66 100644
@@ -49 +51 @@
-@@ -6670,7 +6670,8 @@ RTE_PMD_REGISTER_PARAM_STRING(net_hns3,
+@@ -6669,7 +6669,8 @@ RTE_PMD_REGISTER_PARAM_STRING(net_hns3,
@@ -55 +57 @@
-+ HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "=strict|nostrict "
++ HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "=strict|nostrict ");
More information about the stable
mailing list