patch 'net/cpfl: fix forwarding to physical port' has been queued to stable release 23.11.3
Xueming Li
xuemingl at nvidia.com
Sat Dec 7 09:00:08 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=7230a4907ce03886a03a36a76a7e105da1f1af14
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 7230a4907ce03886a03a36a76a7e105da1f1af14 Mon Sep 17 00:00:00 2001
From: Praveen Shetty <praveen.shetty at intel.com>
Date: Fri, 8 Nov 2024 11:09:23 +0000
Subject: [PATCH] net/cpfl: fix forwarding to physical port
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit b0e6aff62efa4bcc23f64b80b91709bef73e6d79 ]
CPFL PMD should be able to support below traffic forwarding capabilities
based on the rte flow action types.
1. Forwarding the traffic to the local CPFL vports using
port_representor action.
2. Forwarding the traffic to the physical IO ports using
represented_port action.
3. Forwarding the traffic to an IDPF VF using represented_port action.
The 2nd use case, forwarding the traffic to IO ports using
represented_port action, is not working due to the additional check
added in the previous patch (861261957684 ("net/cpfl: add checks for
flow action types"))
This patch removes the incorrect check to fix the issue.
Fixes: 861261957684 ("net/cpfl: add checks for flow action types")
Signed-off-by: Praveen Shetty <praveen.shetty at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/cpfl/cpfl_flow_engine_fxp.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/net/cpfl/cpfl_flow_engine_fxp.c b/drivers/net/cpfl/cpfl_flow_engine_fxp.c
index 9101a0e506..56a9a85345 100644
--- a/drivers/net/cpfl/cpfl_flow_engine_fxp.c
+++ b/drivers/net/cpfl/cpfl_flow_engine_fxp.c
@@ -298,11 +298,6 @@ cpfl_fxp_parse_action(struct cpfl_itf *itf,
PMD_DRV_LOG(ERR, "Cannot use port_representor action for the represented_port");
goto err;
}
- if (action_type == RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT &&
- dst_itf->type == CPFL_ITF_TYPE_VPORT) {
- PMD_DRV_LOG(ERR, "Cannot use represented_port action for the local vport");
- goto err;
- }
if (is_vsi)
dev_id = cpfl_get_vsi_id(dst_itf);
else
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-12-06 23:26:45.757898007 +0800
+++ 0050-net-cpfl-fix-forwarding-to-physical-port.patch 2024-12-06 23:26:43.953044828 +0800
@@ -1 +1 @@
-From b0e6aff62efa4bcc23f64b80b91709bef73e6d79 Mon Sep 17 00:00:00 2001
+From 7230a4907ce03886a03a36a76a7e105da1f1af14 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit b0e6aff62efa4bcc23f64b80b91709bef73e6d79 ]
@@ -25 +27,0 @@
-Cc: stable at dpdk.org
@@ -34 +36 @@
-index 0101c30911..689ed82f18 100644
+index 9101a0e506..56a9a85345 100644
@@ -37 +39 @@
-@@ -301,11 +301,6 @@ cpfl_fxp_parse_action(struct cpfl_itf *itf,
+@@ -298,11 +298,6 @@ cpfl_fxp_parse_action(struct cpfl_itf *itf,
More information about the stable
mailing list