mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wojciech Drewek <wojciech.drewek@intel.com>
To: Geetha sowjanya <gakula@marvell.com>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Cc: <kuba@kernel.org>, <davem@davemloft.net>, <pabeni@redhat.com>,
	<edumazet@google.com>, <sgoutham@marvell.com>,
	<sbhatta@marvell.com>, <hkelam@marvell.com>
Subject: Re: [net PATCH 4/5] octeontx2-af: Add missing mcs flr handler call
Date: Thu, 23 Nov 2023 11:55:34 +0100	[thread overview]
Message-ID: <559918e5-0c06-4962-a2d0-05b377aae2db@intel.com> (raw)
In-Reply-To: <20231123055941.19430-5-gakula@marvell.com>



On 23.11.2023 06:59, Geetha sowjanya wrote:
> If mcs resources are attached to PF/VF. These resources need
> to be freed on FLR. This patch add mssing mcs flr call on PF FLR.
> 
> Fixes: bd69476e86fc ("octeontx2-af: cn10k: mcs: Install a default TCAM for normal traffic")
> Signed-off-by: Geetha sowjanya <gakula@marvell.com>
> ---

Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>

>  drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
> index 22c395c7d040..731bb82b577c 100644
> --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
> +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
> @@ -2631,6 +2631,9 @@ static void __rvu_flr_handler(struct rvu *rvu, u16 pcifunc)
>  	rvu_npc_free_mcam_entries(rvu, pcifunc, -1);
>  	rvu_mac_reset(rvu, pcifunc);
>  
> +	if (rvu->mcs_blk_cnt)
> +		rvu_mcs_flr_handler(rvu, pcifunc);
> +
>  	mutex_unlock(&rvu->flr_lock);
>  }
>  

  reply	other threads:[~2023-11-23 11:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-23  5:59 [net PATCH 0/5] octeontx2-af: miscellaneous fixes Geetha sowjanya
2023-11-23  5:59 ` [net PATCH 1/5] octeontx2-af: Adjust Tx credits when MCS external bypass is disabled Geetha sowjanya
2023-11-23 10:45   ` Wojciech Drewek
2023-11-23 12:34     ` [EXT] " Geethasowjanya Akula
2023-11-23 12:47       ` Wojciech Drewek
2023-11-23  5:59 ` [net PATCH 2/5] octeontx2-af: Fix mcs sa cam entries size Geetha sowjanya
2023-11-23 10:47   ` Wojciech Drewek
2023-11-23  5:59 ` [net PATCH 3/5] octeontx2-af: Fix mcs stats register address Geetha sowjanya
2023-11-23 10:53   ` Wojciech Drewek
2023-11-23  5:59 ` [net PATCH 4/5] octeontx2-af: Add missing mcs flr handler call Geetha sowjanya
2023-11-23 10:55   ` Wojciech Drewek [this message]
2023-11-23  5:59 ` [net PATCH 5/5] octeontx2-af: Update Tx link register range Geetha sowjanya
2023-11-23 10:57   ` Wojciech Drewek
2023-11-23 12:45     ` [EXT] " Geethasowjanya Akula

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=559918e5-0c06-4962-a2d0-05b377aae2db@intel.com \
    --to=wojciech.drewek@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gakula@marvell.com \
    --cc=hkelam@marvell.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sbhatta@marvell.com \
    --cc=sgoutham@marvell.com \
    /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

Powered by JetHome