From: Simon Horman <simon.horman@corigine.com>
To: Ratheesh Kannoth <rkannoth@marvell.com>
Cc: Sai Krishna Gajula <saikrishnag@marvell.com>,
"davem@davemloft.net" <davem@davemloft.net>,
"edumazet@google.com" <edumazet@google.com>,
"kuba@kernel.org" <kuba@kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"leon@kernel.org" <leon@kernel.org>,
Sunil Kovvuri Goutham <sgoutham@marvell.com>,
Geethasowjanya Akula <gakula@marvell.com>,
Linu Cherian <lcherian@marvell.com>,
Jerin Jacob Kollanukkaran <jerinj@marvell.com>,
Hariprasad Kelam <hkelam@marvell.com>,
Subbaraya Sundeep Bhatta <sbhatta@marvell.com>
Subject: Re: [EXT] Re: [net PATCH v4 09/10] octeontx2-af: Skip PFs if not enabled
Date: Tue, 2 May 2023 13:55:04 +0200 [thread overview]
Message-ID: <ZFD6GIS+lrVn4AJs@corigine.com> (raw)
In-Reply-To: <MWHPR1801MB1918C1AE94BB287FE29FC76BD36F9@MWHPR1801MB1918.namprd18.prod.outlook.com>
On Tue, May 02, 2023 at 03:10:53AM +0000, Ratheesh Kannoth wrote:
> Hi Simon,
>
> Thanks for your review. Please find replies inline.
>
> -Ratheesh
>
> > -----Original Message-----
> > From: Simon Horman <simon.horman@corigine.com>
> > Sent: Wednesday, April 26, 2023 3:31 PM
> > To: Sai Krishna Gajula <saikrishnag@marvell.com>
> > Cc: davem@davemloft.net; edumazet@google.com; kuba@kernel.org;
> > pabeni@redhat.com; netdev@vger.kernel.org; linux-
> > kernel@vger.kernel.org; leon@kernel.org; Sunil Kovvuri Goutham
> > <sgoutham@marvell.com>; Geethasowjanya Akula <gakula@marvell.com>;
> > Linu Cherian <lcherian@marvell.com>; Jerin Jacob Kollanukkaran
> > <jerinj@marvell.com>; Hariprasad Kelam <hkelam@marvell.com>;
> > Subbaraya Sundeep Bhatta <sbhatta@marvell.com>; Ratheesh Kannoth
> > <rkannoth@marvell.com>
> > Subject: [EXT] Re: [net PATCH v4 09/10] octeontx2-af: Skip PFs if not enabled
> >
> > External Email
> >
> > ----------------------------------------------------------------------
> > On Wed, Apr 26, 2023 at 01:13:44PM +0530, Sai Krishna wrote:
> > > From: Ratheesh Kannoth <rkannoth@marvell.com>
> > >
> > > Fiwmware enables set of PFs and allocate mbox resources based on the
> > > number of enabled PFs. Current driver tries to initialize the mbox
> > > resources even for disabled PFs, which may waste the resources.
> > > This patch fixes the issue by skipping the mbox initialization of
> > > disabled PFs.
> >
> > FWIIW, this feels more like an enhancement than a fix to me.
>
> [Ratheesh Kannoth] I agree, commit message convey this change as
> enhancement. But this Code change fixes a crash in driver. We will
> modify the commit message as below in next Patchset version. " Firmware
> enables PFs and allocate mbox resources for each of the PFs. Currently
> PF driver configures mbox resources without checking whether PF is
> enabled or not. This results in crash. This patch fixes this issue by
> skipping disabled PF's mbox initialization. "
Thanks, much appreciated.
next prev parent reply other threads:[~2023-05-02 11:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-26 7:43 [net PATCH v4 00/10] octeontx2: Miscellaneous fixes Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 01/10] octeontx2-af: Secure APR table update with the lock Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 02/10] octeontx2-af: Fix start and end bit for scan config Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 03/10] octeontx2-af: Fix depth of cam and mem table Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 04/10] octeontx2-pf: Increase the size of dmac filter flows Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 05/10] octeontx2-af: Add validation for lmac type Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 06/10] octeontx2-af: Update correct mask to filter IPv4 fragments Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 07/10] octeontx2-af: Update/Fix NPC field hash extract feature Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 08/10] octeontx2-af: Fix issues with NPC field hash extract Sai Krishna
2023-04-26 7:43 ` [net PATCH v4 09/10] octeontx2-af: Skip PFs if not enabled Sai Krishna
2023-04-26 10:00 ` Simon Horman
2023-05-02 3:10 ` [EXT] " Ratheesh Kannoth
2023-05-02 11:55 ` Simon Horman [this message]
2023-04-26 7:43 ` [net PATCH v4 10/10] octeontx2-pf: Disable packet I/O for graceful exit Sai Krishna
2023-04-26 10:06 ` Simon Horman
2023-04-27 7:14 ` Sai Krishna Gajula
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=ZFD6GIS+lrVn4AJs@corigine.com \
--to=simon.horman@corigine.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gakula@marvell.com \
--cc=hkelam@marvell.com \
--cc=jerinj@marvell.com \
--cc=kuba@kernel.org \
--cc=lcherian@marvell.com \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rkannoth@marvell.com \
--cc=saikrishnag@marvell.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.