mbox series

[0/3] patchset for bnxt PMD

Message ID 20211007032353.93579-1-ajit.khaparde@broadcom.com (mailing list archive)
Headers
Series patchset for bnxt PMD |

Message

Ajit Khaparde Oct. 7, 2021, 3:23 a.m. UTC
  Apart from fixing an issue with Rx queue state at startup,
this patchset enhances support for RSS action and
optimizes the mbuf requirement at startup by creating the
aggregation rings only when needed (rx_scatter is enabled).

Please apply!

Ajit Khaparde (3):
  net/bnxt: create aggregration rings when needed
  net/bnxt: fix Rx queue state on start
  net/bnxt: enhance support for RSS action

 drivers/net/bnxt/bnxt_ethdev.c |  16 +--
 drivers/net/bnxt/bnxt_filter.h |   1 +
 drivers/net/bnxt/bnxt_flow.c   | 190 ++++++++++++++++++++++++++++++++-
 drivers/net/bnxt/bnxt_hwrm.c   |   9 ++
 drivers/net/bnxt/bnxt_ring.c   | 148 +++++++++++++++----------
 drivers/net/bnxt/bnxt_rxq.c    |  71 +++++++-----
 drivers/net/bnxt/bnxt_rxq.h    |   2 +
 drivers/net/bnxt/bnxt_rxr.c    | 111 +++++++++++--------
 8 files changed, 416 insertions(+), 132 deletions(-)
  

Comments

Ajit Khaparde Oct. 7, 2021, 4:54 p.m. UTC | #1
On Wed, Oct 6, 2021 at 8:23 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
wrote:

> Apart from fixing an issue with Rx queue state at startup,
> this patchset enhances support for RSS action and
> optimizes the mbuf requirement at startup by creating the
> aggregation rings only when needed (rx_scatter is enabled).
>
> Please apply!
>
Patchset applied to dpdk-next-net-brcm.



>
> Ajit Khaparde (3):
>   net/bnxt: create aggregration rings when needed
>   net/bnxt: fix Rx queue state on start
>   net/bnxt: enhance support for RSS action
>
>  drivers/net/bnxt/bnxt_ethdev.c |  16 +--
>  drivers/net/bnxt/bnxt_filter.h |   1 +
>  drivers/net/bnxt/bnxt_flow.c   | 190 ++++++++++++++++++++++++++++++++-
>  drivers/net/bnxt/bnxt_hwrm.c   |   9 ++
>  drivers/net/bnxt/bnxt_ring.c   | 148 +++++++++++++++----------
>  drivers/net/bnxt/bnxt_rxq.c    |  71 +++++++-----
>  drivers/net/bnxt/bnxt_rxq.h    |   2 +
>  drivers/net/bnxt/bnxt_rxr.c    | 111 +++++++++++--------
>  8 files changed, 416 insertions(+), 132 deletions(-)
>
> --
> 2.30.1 (Apple Git-130)
>
>
  
Ferruh Yigit Oct. 12, 2021, 6:14 p.m. UTC | #2
On 10/7/2021 5:54 PM, Ajit Khaparde wrote:
> On Wed, Oct 6, 2021 at 8:23 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
> wrote:
> 
>> Apart from fixing an issue with Rx queue state at startup,
>> this patchset enhances support for RSS action and
>> optimizes the mbuf requirement at startup by creating the
>> aggregation rings only when needed (rx_scatter is enabled).
>>
>> Please apply!
>>
> Patchset applied to dpdk-next-net-brcm.
> 
> 

Hi Ajit,

dpdk-next-net-brcm conflicts with next-net because of some patches
updating bnxt in next-net.
Can you please rebase 'dpdk-next-net-brcm' on top of latest next-net?

Thanks,
ferruh

> 
>>
>> Ajit Khaparde (3):
>>    net/bnxt: create aggregration rings when needed
>>    net/bnxt: fix Rx queue state on start
>>    net/bnxt: enhance support for RSS action
>>
>>   drivers/net/bnxt/bnxt_ethdev.c |  16 +--
>>   drivers/net/bnxt/bnxt_filter.h |   1 +
>>   drivers/net/bnxt/bnxt_flow.c   | 190 ++++++++++++++++++++++++++++++++-
>>   drivers/net/bnxt/bnxt_hwrm.c   |   9 ++
>>   drivers/net/bnxt/bnxt_ring.c   | 148 +++++++++++++++----------
>>   drivers/net/bnxt/bnxt_rxq.c    |  71 +++++++-----
>>   drivers/net/bnxt/bnxt_rxq.h    |   2 +
>>   drivers/net/bnxt/bnxt_rxr.c    | 111 +++++++++++--------
>>   8 files changed, 416 insertions(+), 132 deletions(-)
>>
>> --
>> 2.30.1 (Apple Git-130)
>>
>>
  
Ajit Khaparde Oct. 12, 2021, 6:16 p.m. UTC | #3
On Tue, Oct 12, 2021 at 11:14 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
>
> On 10/7/2021 5:54 PM, Ajit Khaparde wrote:
> > On Wed, Oct 6, 2021 at 8:23 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
> > wrote:
> >
> >> Apart from fixing an issue with Rx queue state at startup,
> >> this patchset enhances support for RSS action and
> >> optimizes the mbuf requirement at startup by creating the
> >> aggregation rings only when needed (rx_scatter is enabled).
> >>
> >> Please apply!
> >>
> > Patchset applied to dpdk-next-net-brcm.
> >
> >
>
> Hi Ajit,
>
> dpdk-next-net-brcm conflicts with next-net because of some patches
> updating bnxt in next-net.
> Can you please rebase 'dpdk-next-net-brcm' on top of latest next-net?
Sure. I will send an email once it's ready.

Thanks
Ajit

>
> Thanks,
> ferruh
>
> >
> >>
> >> Ajit Khaparde (3):
> >>    net/bnxt: create aggregration rings when needed
> >>    net/bnxt: fix Rx queue state on start
> >>    net/bnxt: enhance support for RSS action
> >>
> >>   drivers/net/bnxt/bnxt_ethdev.c |  16 +--
> >>   drivers/net/bnxt/bnxt_filter.h |   1 +
> >>   drivers/net/bnxt/bnxt_flow.c   | 190 ++++++++++++++++++++++++++++++++-
> >>   drivers/net/bnxt/bnxt_hwrm.c   |   9 ++
> >>   drivers/net/bnxt/bnxt_ring.c   | 148 +++++++++++++++----------
> >>   drivers/net/bnxt/bnxt_rxq.c    |  71 +++++++-----
> >>   drivers/net/bnxt/bnxt_rxq.h    |   2 +
> >>   drivers/net/bnxt/bnxt_rxr.c    | 111 +++++++++++--------
> >>   8 files changed, 416 insertions(+), 132 deletions(-)
> >>
> >> --
> >> 2.30.1 (Apple Git-130)
> >>
> >>
>
  
Ajit Khaparde Oct. 12, 2021, 7:03 p.m. UTC | #4
On Tue, Oct 12, 2021 at 11:16 AM Ajit Khaparde
<ajit.khaparde@broadcom.com> wrote:
>
> On Tue, Oct 12, 2021 at 11:14 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> >
> > On 10/7/2021 5:54 PM, Ajit Khaparde wrote:
> > > On Wed, Oct 6, 2021 at 8:23 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
> > > wrote:
> > >
> > >> Apart from fixing an issue with Rx queue state at startup,
> > >> this patchset enhances support for RSS action and
> > >> optimizes the mbuf requirement at startup by creating the
> > >> aggregation rings only when needed (rx_scatter is enabled).
> > >>
> > >> Please apply!
> > >>
> > > Patchset applied to dpdk-next-net-brcm.
> > >
> > >
> >
> > Hi Ajit,
> >
> > dpdk-next-net-brcm conflicts with next-net because of some patches
> > updating bnxt in next-net.
> > Can you please rebase 'dpdk-next-net-brcm' on top of latest next-net?
> Sure. I will send an email once it's ready.
Done. I have rebased the repo to the latest next-net/main
and merged the patches. Please try now.

Thanks
Ajit

>
> Thanks
> Ajit
>
> >
> > Thanks,
> > ferruh
> >
> > >
> > >>
> > >> Ajit Khaparde (3):
> > >>    net/bnxt: create aggregration rings when needed
> > >>    net/bnxt: fix Rx queue state on start
> > >>    net/bnxt: enhance support for RSS action
> > >>
> > >>   drivers/net/bnxt/bnxt_ethdev.c |  16 +--
> > >>   drivers/net/bnxt/bnxt_filter.h |   1 +
> > >>   drivers/net/bnxt/bnxt_flow.c   | 190 ++++++++++++++++++++++++++++++++-
> > >>   drivers/net/bnxt/bnxt_hwrm.c   |   9 ++
> > >>   drivers/net/bnxt/bnxt_ring.c   | 148 +++++++++++++++----------
> > >>   drivers/net/bnxt/bnxt_rxq.c    |  71 +++++++-----
> > >>   drivers/net/bnxt/bnxt_rxq.h    |   2 +
> > >>   drivers/net/bnxt/bnxt_rxr.c    | 111 +++++++++++--------
> > >>   8 files changed, 416 insertions(+), 132 deletions(-)
> > >>
> > >> --
> > >> 2.30.1 (Apple Git-130)
> > >>
> > >>
> >
  
Ferruh Yigit Oct. 12, 2021, 7:49 p.m. UTC | #5
On 10/12/2021 8:03 PM, Ajit Khaparde wrote:
> On Tue, Oct 12, 2021 at 11:16 AM Ajit Khaparde
> <ajit.khaparde@broadcom.com> wrote:
>>
>> On Tue, Oct 12, 2021 at 11:14 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
>>>
>>> On 10/7/2021 5:54 PM, Ajit Khaparde wrote:
>>>> On Wed, Oct 6, 2021 at 8:23 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
>>>> wrote:
>>>>
>>>>> Apart from fixing an issue with Rx queue state at startup,
>>>>> this patchset enhances support for RSS action and
>>>>> optimizes the mbuf requirement at startup by creating the
>>>>> aggregation rings only when needed (rx_scatter is enabled).
>>>>>
>>>>> Please apply!
>>>>>
>>>> Patchset applied to dpdk-next-net-brcm.
>>>>
>>>>
>>>
>>> Hi Ajit,
>>>
>>> dpdk-next-net-brcm conflicts with next-net because of some patches
>>> updating bnxt in next-net.
>>> Can you please rebase 'dpdk-next-net-brcm' on top of latest next-net?
>> Sure. I will send an email once it's ready.
> Done. I have rebased the repo to the latest next-net/main
> and merged the patches. Please try now.
> 

Hi Ajit,

I am getting lots of checkpatch warnings on the patches in your tree,
but I don't see them in the patchwork. Warnings can be because of the
updates during rebase.

If there is code change during rebase, to not have a diverge between
the patch in the patchwork and what we are merging, can you please send
and updated version of the effected patches first?
This lets us see the CI results and later they can be merge in your tree
again.
  
Ajit Khaparde Oct. 12, 2021, 8:30 p.m. UTC | #6
On Tue, Oct 12, 2021 at 12:49 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
>
> On 10/12/2021 8:03 PM, Ajit Khaparde wrote:
> > On Tue, Oct 12, 2021 at 11:16 AM Ajit Khaparde
> > <ajit.khaparde@broadcom.com> wrote:
> >>
> >> On Tue, Oct 12, 2021 at 11:14 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> >>>
> >>> On 10/7/2021 5:54 PM, Ajit Khaparde wrote:
> >>>> On Wed, Oct 6, 2021 at 8:23 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
> >>>> wrote:
> >>>>
> >>>>> Apart from fixing an issue with Rx queue state at startup,
> >>>>> this patchset enhances support for RSS action and
> >>>>> optimizes the mbuf requirement at startup by creating the
> >>>>> aggregation rings only when needed (rx_scatter is enabled).
> >>>>>
> >>>>> Please apply!
> >>>>>
> >>>> Patchset applied to dpdk-next-net-brcm.
> >>>>
> >>>>
> >>>
> >>> Hi Ajit,
> >>>
> >>> dpdk-next-net-brcm conflicts with next-net because of some patches
> >>> updating bnxt in next-net.
> >>> Can you please rebase 'dpdk-next-net-brcm' on top of latest next-net?
> >> Sure. I will send an email once it's ready.
> > Done. I have rebased the repo to the latest next-net/main
> > and merged the patches. Please try now.
> >
>
> Hi Ajit,
>
> I am getting lots of checkpatch warnings on the patches in your tree,
> but I don't see them in the patchwork. Warnings can be because of the
> updates during rebase.
>
> If there is code change during rebase, to not have a diverge between
> the patch in the patchwork and what we are merging, can you please send
> and updated version of the effected patches first?
There is no code change made during the rebase.
My checkpatch run did not point out anything.
But let me try again. Thanks Ferruh.

Thanks
Ajit



> This lets us see the CI results and later they can be merge in your tree
> again.
>
  
Ajit Khaparde Oct. 12, 2021, 8:39 p.m. UTC | #7
On Tue, Oct 12, 2021 at 1:30 PM Ajit Khaparde
<ajit.khaparde@broadcom.com> wrote:
>
> On Tue, Oct 12, 2021 at 12:49 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> >
> > On 10/12/2021 8:03 PM, Ajit Khaparde wrote:
> > > On Tue, Oct 12, 2021 at 11:16 AM Ajit Khaparde
> > > <ajit.khaparde@broadcom.com> wrote:
> > >>
> > >> On Tue, Oct 12, 2021 at 11:14 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> > >>>
> > >>> On 10/7/2021 5:54 PM, Ajit Khaparde wrote:
> > >>>> On Wed, Oct 6, 2021 at 8:23 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
> > >>>> wrote:
> > >>>>
> > >>>>> Apart from fixing an issue with Rx queue state at startup,
> > >>>>> this patchset enhances support for RSS action and
> > >>>>> optimizes the mbuf requirement at startup by creating the
> > >>>>> aggregation rings only when needed (rx_scatter is enabled).
> > >>>>>
> > >>>>> Please apply!
> > >>>>>
> > >>>> Patchset applied to dpdk-next-net-brcm.
> > >>>>
> > >>>>
> > >>>
> > >>> Hi Ajit,
> > >>>
> > >>> dpdk-next-net-brcm conflicts with next-net because of some patches
> > >>> updating bnxt in next-net.
> > >>> Can you please rebase 'dpdk-next-net-brcm' on top of latest next-net?
> > >> Sure. I will send an email once it's ready.
> > > Done. I have rebased the repo to the latest next-net/main
> > > and merged the patches. Please try now.
> > >
> >
> > Hi Ajit,
> >
> > I am getting lots of checkpatch warnings on the patches in your tree,
> > but I don't see them in the patchwork. Warnings can be because of the
> > updates during rebase.
> >
> > If there is code change during rebase, to not have a diverge between
> > the patch in the patchwork and what we are merging, can you please send
> > and updated version of the effected patches first?
> There is no code change made during the rebase.
> My checkpatch run did not point out anything.
> But let me try again. Thanks Ferruh.
Ok, got it.
I had done the merge on a new system which did not have the checkpatch
setup correctly.
I have fixed the issues and updated the tree. Apologies for the trouble.

Thanks
Ajit

>
> Thanks
> Ajit
>
>
>
> > This lets us see the CI results and later they can be merge in your tree
> > again.
> >