[PATCH v1] net/cpfl: fix IO port forwarding issue

Praveen Shetty praveen.shetty at intel.com
Fri Nov 8 12:09:23 CET 2024


Issue was reported in dpdk internal regression testing that
forwarding the packets from IDPF VF to IO ports using the cpfl
represented_port action was not working.
This patch will fix this issue.

Fixes: 861261957684 ("net/cpfl: add checks for flow action types")
Cc: stable at dpdk.org

Signed-off-by: Praveen Shetty <praveen.shetty 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 2c75ea6577..0eb7cdf1a3 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



More information about the dev mailing list