patch 'net/ice: initialize parser for double VLAN' has been queued to stable release 22.11.3

Xueming Li xuemingl at nvidia.com
Sun Jun 25 08:35:38 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.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 06/27/23. 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=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=bae61d23052101121b803398e59d3b9df4347309

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From bae61d23052101121b803398e59d3b9df4347309 Mon Sep 17 00:00:00 2001
From: Qi Zhang <qi.z.zhang at intel.com>
Date: Fri, 26 May 2023 15:21:25 -0400
Subject: [PATCH] net/ice: initialize parser for double VLAN
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 6e753d777ffc540b81e53d4ef2315a805347460e ]

Double Vlan mode need to be configured for parser
Otherwise parser result will not be consistent with hardware.

Fixes: 531d2555c8a6 ("net/ice: refactor parser usage")

Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
Tested-by: Zhichao Zeng <zhichaox.zeng at intel.com>
---
 drivers/net/ice/ice_generic_flow.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/ice/ice_generic_flow.c b/drivers/net/ice/ice_generic_flow.c
index 86a32f8cb1..ed3075d555 100644
--- a/drivers/net/ice/ice_generic_flow.c
+++ b/drivers/net/ice/ice_generic_flow.c
@@ -1836,6 +1836,11 @@ ice_flow_init(struct ice_adapter *ad)
 	if (ice_parser_create(&ad->hw, &ad->psr) != ICE_SUCCESS)
 		PMD_INIT_LOG(WARNING, "Failed to initialize DDP parser, raw packet filter will not be supported");
 
+	if (ice_is_dvm_ena(&ad->hw))
+		ice_parser_dvm_set(ad->psr, true);
+	else
+		ice_parser_dvm_set(ad->psr, false);
+
 	RTE_TAILQ_FOREACH_SAFE(engine, &engine_list, node, temp) {
 		if (engine->init == NULL) {
 			PMD_INIT_LOG(ERR, "Invalid engine type (%d)",
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-06-25 14:32:01.689322600 +0800
+++ 0120-net-ice-initialize-parser-for-double-VLAN.patch	2023-06-25 14:31:58.575773900 +0800
@@ -1 +1 @@
-From 6e753d777ffc540b81e53d4ef2315a805347460e Mon Sep 17 00:00:00 2001
+From bae61d23052101121b803398e59d3b9df4347309 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 6e753d777ffc540b81e53d4ef2315a805347460e ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list