From: Praveen Shetty <praveen.shetty@intel.com>
To: bruce.richardson@intel.com
Cc: dev@dpdk.org, stable@dpdk.org
Subject: [PATCH v1] net/cpfl: fix IO port forwarding issue
Date: Fri, 8 Nov 2024 11:09:23 +0000 [thread overview]
Message-ID: <20241108110923.80404-1-praveen.shetty@intel.com> (raw)
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@dpdk.org
Signed-off-by: Praveen Shetty <praveen.shetty@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
reply other threads:[~2024-11-08 11:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241108110923.80404-1-praveen.shetty@intel.com \
--to=praveen.shetty@intel.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).