mbox series

[v1,00/18] mlx5 Rx DevX/Verbs separation

Message ID 1599128029-2092-1-git-send-email-michaelba@nvidia.com (mailing list archive)
Headers
Series mlx5 Rx DevX/Verbs separation |

Message

Michael Baum Sept. 3, 2020, 10:13 a.m. UTC
  v1:
Initial version 

Michael Baum (18):
  net/mlx5: fix Rx hash queue creation error flow
  net/mlx5: fix Rx queue state update
  net/mlx5: fix types differentiation in Rxq create
  net/mlx5: mitigate Rx queue reference counters
  net/mlx5: separate Rx queue object creations
  net/mlx5: separate Rx interrupt handling
  net/mlx5: share Rx control code
  net/mlx5: rearrange the creation of RQ and CQ resources
  net/mlx5: rearrange the creation of WQ and CQ object
  net/mlx5: separate Rx queue object modification
  net/mlx5: share Rx queue object modification
  net/mlx5: separate Rx indirection table object creation
  net/mlx5: separate Rx hash queue creation
  net/mlx5: remove indirection table type field
  net/mlx5: share Rx queue indirection table code
  net/mlx5: share Rx hash queue code
  net/mlx5: separate Rx queue drop
  net/mlx5: share Rx queue drop action code

 drivers/net/mlx5/Makefile           |    1 +
 drivers/net/mlx5/linux/mlx5_os.c    |   10 +
 drivers/net/mlx5/linux/mlx5_verbs.c |  707 +++++++++++++
 drivers/net/mlx5/linux/mlx5_verbs.h |    4 +
 drivers/net/mlx5/meson.build        |    1 +
 drivers/net/mlx5/mlx5.h             |   73 +-
 drivers/net/mlx5/mlx5_devx.c        |  792 +++++++++++++-
 drivers/net/mlx5/mlx5_flow_dv.c     |   20 +-
 drivers/net/mlx5/mlx5_flow_verbs.c  |   35 +-
 drivers/net/mlx5/mlx5_rxq.c         | 1934 ++++++-----------------------------
 drivers/net/mlx5/mlx5_rxtx.h        |   84 +-
 drivers/net/mlx5/mlx5_trigger.c     |   67 +-
 drivers/net/mlx5/mlx5_vlan.c        |    2 +-
 13 files changed, 1954 insertions(+), 1776 deletions(-)
  

Comments

Tom Barbette Sept. 3, 2020, 2:34 p.m. UTC | #1
Could you provide a cover letter?

Thanks,

Tom

Le 03/09/2020 à 12:13, Michael Baum a écrit :
> v1:
> Initial version
>
> Michael Baum (18):
>    net/mlx5: fix Rx hash queue creation error flow
>    net/mlx5: fix Rx queue state update
>    net/mlx5: fix types differentiation in Rxq create
>    net/mlx5: mitigate Rx queue reference counters
>    net/mlx5: separate Rx queue object creations
>    net/mlx5: separate Rx interrupt handling
>    net/mlx5: share Rx control code
>    net/mlx5: rearrange the creation of RQ and CQ resources
>    net/mlx5: rearrange the creation of WQ and CQ object
>    net/mlx5: separate Rx queue object modification
>    net/mlx5: share Rx queue object modification
>    net/mlx5: separate Rx indirection table object creation
>    net/mlx5: separate Rx hash queue creation
>    net/mlx5: remove indirection table type field
>    net/mlx5: share Rx queue indirection table code
>    net/mlx5: share Rx hash queue code
>    net/mlx5: separate Rx queue drop
>    net/mlx5: share Rx queue drop action code
>
>   drivers/net/mlx5/Makefile           |    1 +
>   drivers/net/mlx5/linux/mlx5_os.c    |   10 +
>   drivers/net/mlx5/linux/mlx5_verbs.c |  707 +++++++++++++
>   drivers/net/mlx5/linux/mlx5_verbs.h |    4 +
>   drivers/net/mlx5/meson.build        |    1 +
>   drivers/net/mlx5/mlx5.h             |   73 +-
>   drivers/net/mlx5/mlx5_devx.c        |  792 +++++++++++++-
>   drivers/net/mlx5/mlx5_flow_dv.c     |   20 +-
>   drivers/net/mlx5/mlx5_flow_verbs.c  |   35 +-
>   drivers/net/mlx5/mlx5_rxq.c         | 1934 ++++++-----------------------------
>   drivers/net/mlx5/mlx5_rxtx.h        |   84 +-
>   drivers/net/mlx5/mlx5_trigger.c     |   67 +-
>   drivers/net/mlx5/mlx5_vlan.c        |    2 +-
>   13 files changed, 1954 insertions(+), 1776 deletions(-)
>
  
Michael Baum Sept. 3, 2020, 8:59 p.m. UTC | #2
I think the names of the patches describe well enough and there is no need to add a description in the cover-letter.

> -----Original Message-----
> From: Tom Barbette <barbette@kth.se>
> Sent: Thursday, September 3, 2020 5:34 PM
> To: Michael Baum <michaelba@nvidia.com>; dev@dpdk.org
> Cc: Matan Azrad <matan@nvidia.com>; Raslan Darawsheh
> <rasland@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>
> Subject: Re: [dpdk-dev] [PATCH v1 00/18] mlx5 Rx DevX/Verbs separation
> 
> External email: Use caution opening links or attachments
> 
> 
> Could you provide a cover letter?
> 
> Thanks,
> 
> Tom
> 
> Le 03/09/2020 à 12:13, Michael Baum a écrit :
> > v1:
> > Initial version
> >
> > Michael Baum (18):
> >    net/mlx5: fix Rx hash queue creation error flow
> >    net/mlx5: fix Rx queue state update
> >    net/mlx5: fix types differentiation in Rxq create
> >    net/mlx5: mitigate Rx queue reference counters
> >    net/mlx5: separate Rx queue object creations
> >    net/mlx5: separate Rx interrupt handling
> >    net/mlx5: share Rx control code
> >    net/mlx5: rearrange the creation of RQ and CQ resources
> >    net/mlx5: rearrange the creation of WQ and CQ object
> >    net/mlx5: separate Rx queue object modification
> >    net/mlx5: share Rx queue object modification
> >    net/mlx5: separate Rx indirection table object creation
> >    net/mlx5: separate Rx hash queue creation
> >    net/mlx5: remove indirection table type field
> >    net/mlx5: share Rx queue indirection table code
> >    net/mlx5: share Rx hash queue code
> >    net/mlx5: separate Rx queue drop
> >    net/mlx5: share Rx queue drop action code
> >
> >   drivers/net/mlx5/Makefile           |    1 +
> >   drivers/net/mlx5/linux/mlx5_os.c    |   10 +
> >   drivers/net/mlx5/linux/mlx5_verbs.c |  707 +++++++++++++
> >   drivers/net/mlx5/linux/mlx5_verbs.h |    4 +
> >   drivers/net/mlx5/meson.build        |    1 +
> >   drivers/net/mlx5/mlx5.h             |   73 +-
> >   drivers/net/mlx5/mlx5_devx.c        |  792 +++++++++++++-
> >   drivers/net/mlx5/mlx5_flow_dv.c     |   20 +-
> >   drivers/net/mlx5/mlx5_flow_verbs.c  |   35 +-
> >   drivers/net/mlx5/mlx5_rxq.c         | 1934 ++++++-----------------------------
> >   drivers/net/mlx5/mlx5_rxtx.h        |   84 +-
> >   drivers/net/mlx5/mlx5_trigger.c     |   67 +-
> >   drivers/net/mlx5/mlx5_vlan.c        |    2 +-
> >   13 files changed, 1954 insertions(+), 1776 deletions(-)
> >
  
David Marchand Sept. 4, 2020, 7:30 a.m. UTC | #3
On Thu, Sep 3, 2020 at 11:00 PM Michael Baum <michaelba@nvidia.com> wrote:
>
> I think the names of the patches describe well enough and there is no need to add a description in the cover-letter.

It gives no hint at the purpose, the impacts... why should we care
about this separation?
  
Thomas Monjalon Sept. 4, 2020, 7:47 a.m. UTC | #4
03/09/2020 22:59, Michael Baum:
> I think the names of the patches describe well enough
> and there is no need to add a description in the cover-letter.

An introduction giving the general idea,
explaining the reason for writing these changes,
is always appreciable.

PS: Please do not top-post.

> From: Tom Barbette <barbette@kth.se>
> > Could you provide a cover letter?
> > 
> > Thanks,
> > 
> > Tom
> > 
> > Le 03/09/2020 à 12:13, Michael Baum a écrit :
> > > v1:
> > > Initial version
> > >
> > > Michael Baum (18):
> > >    net/mlx5: fix Rx hash queue creation error flow
> > >    net/mlx5: fix Rx queue state update
> > >    net/mlx5: fix types differentiation in Rxq create
> > >    net/mlx5: mitigate Rx queue reference counters
> > >    net/mlx5: separate Rx queue object creations
> > >    net/mlx5: separate Rx interrupt handling
> > >    net/mlx5: share Rx control code
> > >    net/mlx5: rearrange the creation of RQ and CQ resources
> > >    net/mlx5: rearrange the creation of WQ and CQ object
> > >    net/mlx5: separate Rx queue object modification
> > >    net/mlx5: share Rx queue object modification
> > >    net/mlx5: separate Rx indirection table object creation
> > >    net/mlx5: separate Rx hash queue creation
> > >    net/mlx5: remove indirection table type field
> > >    net/mlx5: share Rx queue indirection table code
> > >    net/mlx5: share Rx hash queue code
> > >    net/mlx5: separate Rx queue drop
> > >    net/mlx5: share Rx queue drop action code
  
Michael Baum Sept. 6, 2020, 7:32 a.m. UTC | #5
From: Thomas Monjalon:
> 03/09/2020 22:59, Michael Baum:
> > I think the names of the patches describe well enough and there is no
> > need to add a description in the cover-letter.
> 
> An introduction giving the general idea, explaining the reason for writing
> these changes, is always appreciable.
> 
> PS: Please do not top-post.

Ok

> 
> > From: Tom Barbette <barbette@kth.se>
> > > Could you provide a cover letter?

Yes, the series is an arrangement to multi-OS support by net/mlx5 driver so it comes to ease the code management for OS which supports\doesn't support DevX\Verbs operations.

> > >
> > > Thanks,
> > >
> > > Tom
> > >
> > > Le 03/09/2020 à 12:13, Michael Baum a écrit :
> > > > v1:
> > > > Initial version
> > > >
> > > > Michael Baum (18):
> > > >    net/mlx5: fix Rx hash queue creation error flow
> > > >    net/mlx5: fix Rx queue state update
> > > >    net/mlx5: fix types differentiation in Rxq create
> > > >    net/mlx5: mitigate Rx queue reference counters
> > > >    net/mlx5: separate Rx queue object creations
> > > >    net/mlx5: separate Rx interrupt handling
> > > >    net/mlx5: share Rx control code
> > > >    net/mlx5: rearrange the creation of RQ and CQ resources
> > > >    net/mlx5: rearrange the creation of WQ and CQ object
> > > >    net/mlx5: separate Rx queue object modification
> > > >    net/mlx5: share Rx queue object modification
> > > >    net/mlx5: separate Rx indirection table object creation
> > > >    net/mlx5: separate Rx hash queue creation
> > > >    net/mlx5: remove indirection table type field
> > > >    net/mlx5: share Rx queue indirection table code
> > > >    net/mlx5: share Rx hash queue code
> > > >    net/mlx5: separate Rx queue drop
> > > >    net/mlx5: share Rx queue drop action code
> 
>
  
Raslan Darawsheh Sept. 8, 2020, 11:46 a.m. UTC | #6
Hi,

> -----Original Message-----
> From: Michael Baum <michaelba@nvidia.com>
> Sent: Thursday, September 3, 2020 1:14 PM
> To: dev@dpdk.org
> Cc: Matan Azrad <matan@nvidia.com>; Raslan Darawsheh
> <rasland@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>
> Subject: [PATCH v1 00/18] mlx5 Rx DevX/Verbs separation
> 
> v1:
> Initial version
> 
> Michael Baum (18):
>   net/mlx5: fix Rx hash queue creation error flow
>   net/mlx5: fix Rx queue state update
>   net/mlx5: fix types differentiation in Rxq create
>   net/mlx5: mitigate Rx queue reference counters
>   net/mlx5: separate Rx queue object creations
>   net/mlx5: separate Rx interrupt handling
>   net/mlx5: share Rx control code
>   net/mlx5: rearrange the creation of RQ and CQ resources
>   net/mlx5: rearrange the creation of WQ and CQ object
>   net/mlx5: separate Rx queue object modification
>   net/mlx5: share Rx queue object modification
>   net/mlx5: separate Rx indirection table object creation
>   net/mlx5: separate Rx hash queue creation
>   net/mlx5: remove indirection table type field
>   net/mlx5: share Rx queue indirection table code
>   net/mlx5: share Rx hash queue code
>   net/mlx5: separate Rx queue drop
>   net/mlx5: share Rx queue drop action code
> 
>  drivers/net/mlx5/Makefile           |    1 +
>  drivers/net/mlx5/linux/mlx5_os.c    |   10 +
>  drivers/net/mlx5/linux/mlx5_verbs.c |  707 +++++++++++++
>  drivers/net/mlx5/linux/mlx5_verbs.h |    4 +
>  drivers/net/mlx5/meson.build        |    1 +
>  drivers/net/mlx5/mlx5.h             |   73 +-
>  drivers/net/mlx5/mlx5_devx.c        |  792 +++++++++++++-
>  drivers/net/mlx5/mlx5_flow_dv.c     |   20 +-
>  drivers/net/mlx5/mlx5_flow_verbs.c  |   35 +-
>  drivers/net/mlx5/mlx5_rxq.c         | 1934 ++++++-----------------------------
>  drivers/net/mlx5/mlx5_rxtx.h        |   84 +-
>  drivers/net/mlx5/mlx5_trigger.c     |   67 +-
>  drivers/net/mlx5/mlx5_vlan.c        |    2 +-
>  13 files changed, 1954 insertions(+), 1776 deletions(-)
> 
> --
> 1.8.3.1

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh