From: Luca Boccassi <bluca@debian.org>
To: psatheesh@marvell.com, Jerin Jacob <jerinj@marvell.com>,
Nithin Dabilpuram <ndabilpuram@marvell.com>,
Kiran Kumar K <kirankumark@marvell.com>
Cc: stable@dpdk.org
Subject: Re: [PATCH 20.11] net/octeontx2:: fix base rule merge
Date: Fri, 18 Feb 2022 12:53:13 +0000 [thread overview]
Message-ID: <3527973b6e40215d6de1e06839f5308a2a7e8725.camel@debian.org> (raw)
In-Reply-To: <20220218035622.1583143-1-psatheesh@marvell.com>
On Fri, 2022-02-18 at 09:26 +0530, psatheesh@marvell.com wrote:
> From: Satheesh Paul <psatheesh@marvell.com>
>
> Egress rules do not have a base steering rule and the
> current base steering rule is applicable only for ingress
> rules. Hence, when creating a flow rule, merge base steering
> rule only for ingress rules.
>
> Fixes: ce3a1c3164 ("net/octeontx2: support VF base steering rule")
>
> Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
> Reviewed-by: Kiran Kumar Kokkilagadda <kirankumark@marvell.com>
> ---
> drivers/net/octeontx2/otx2_flow_utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/octeontx2/otx2_flow_utils.c b/drivers/net/octeontx2/otx2_flow_utils.c
> index 7ed86ba742..31277adcb4 100644
> --- a/drivers/net/octeontx2/otx2_flow_utils.c
> +++ b/drivers/net/octeontx2/otx2_flow_utils.c
> @@ -909,7 +909,7 @@ otx2_flow_mcam_alloc_and_write(struct rte_flow *flow, struct otx2_mbox *mbox,
> return NPC_MCAM_ALLOC_FAILED;
> }
>
>
> - if (pst->is_vf) {
> + if (pst->is_vf && flow->nix_intf == OTX2_INTF_RX) {
> (void)otx2_mbox_alloc_msg_npc_read_base_steer_rule(mbox);
> rc = otx2_mbox_process_msg(mbox, (void *)&base_rule_rsp);
> if (rc) {
Thanks, applied and pushed.
--
Kind regards,
Luca Boccassi
prev parent reply other threads:[~2022-02-18 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 3:56 psatheesh
2022-02-18 12:53 ` Luca Boccassi [this message]
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=3527973b6e40215d6de1e06839f5308a2a7e8725.camel@debian.org \
--to=bluca@debian.org \
--cc=jerinj@marvell.com \
--cc=kirankumark@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=psatheesh@marvell.com \
--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).