[00/13] net/mlx5: support more REG C registers

Message ID 20231029182300.227879-1-getelson@nvidia.com (mailing list archive)
Headers
Series net/mlx5: support more REG C registers |

Message

Gregory Etelson Oct. 29, 2023, 6:22 p.m. UTC
  Support increased number of REG_Cx registers.

Gregory Etelson (7):
  net/mlx5/hws: Definer, add mlx5dr context to definer_conv_data
  net/mlx5: add flow_hw_get_reg_id_from_ctx()
  net/mlx5/hws: Definer, use flow_hw_get_reg_id_from_ctx function call
  net/mlx5: add rte_device parameter to locate HWS registers
  net/mlx5: separate port REG_C registers usage
  net/mlx5: merge REG_C aliases
  net/mlx5: initialize HWS flow tags registers in shared dev context

Itamar Gozlan (1):
  net/mlx5/hws: adding method to query rule hash

Ori Kam (5):
  net/mlx5: add support for calc hash
  net/mlx5: fix insert by index
  net/mlx5: fix query for NIC flow cap
  net/mlx5: add support for more registers
  net/mlx5: add validation support for tags

 drivers/common/mlx5/mlx5_devx_cmds.c   |  17 ++-
 drivers/common/mlx5/mlx5_devx_cmds.h   |   2 +-
 drivers/common/mlx5/mlx5_prm.h         |  56 ++++++-
 drivers/net/mlx5/hws/meson.build       |   1 +
 drivers/net/mlx5/hws/mlx5dr.h          |  26 ++++
 drivers/net/mlx5/hws/mlx5dr_cmd.c      |   3 +
 drivers/net/mlx5/hws/mlx5dr_cmd.h      |   3 +-
 drivers/net/mlx5/hws/mlx5dr_crc32.c    |  61 ++++++++
 drivers/net/mlx5/hws/mlx5dr_crc32.h    |  13 ++
 drivers/net/mlx5/hws/mlx5dr_definer.c  |  20 ++-
 drivers/net/mlx5/hws/mlx5dr_internal.h |   1 +
 drivers/net/mlx5/hws/mlx5dr_rule.c     |  37 +++++
 drivers/net/mlx5/hws/mlx5dr_rule.h     |   1 +
 drivers/net/mlx5/linux/mlx5_os.c       |  39 +----
 drivers/net/mlx5/mlx5.c                |  79 +++++++++-
 drivers/net/mlx5/mlx5.h                |  16 +-
 drivers/net/mlx5/mlx5_flow.c           |  63 +++++---
 drivers/net/mlx5/mlx5_flow.h           |  68 ++++++---
 drivers/net/mlx5/mlx5_flow_dv.c        |  24 ++-
 drivers/net/mlx5/mlx5_flow_hw.c        | 201 ++++++++-----------------
 drivers/net/mlx5/mlx5_flow_meter.c     |  14 +-
 21 files changed, 491 insertions(+), 254 deletions(-)
 create mode 100644 drivers/net/mlx5/hws/mlx5dr_crc32.c
 create mode 100644 drivers/net/mlx5/hws/mlx5dr_crc32.h
  

Comments

Suanming Mou Oct. 30, 2023, 8:37 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson@nvidia.com>
> Sent: Monday, October 30, 2023 2:23 AM
> To: dev@dpdk.org
> Cc: Gregory Etelson <getelson@nvidia.com>; Maayan Kashani
> <mkashani@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>
> Subject: [PATCH 00/13] net/mlx5: support more REG C registers
> 
> Support increased number of REG_Cx registers.
> 
> Gregory Etelson (7):
>   net/mlx5/hws: Definer, add mlx5dr context to definer_conv_data
>   net/mlx5: add flow_hw_get_reg_id_from_ctx()
>   net/mlx5/hws: Definer, use flow_hw_get_reg_id_from_ctx function call
>   net/mlx5: add rte_device parameter to locate HWS registers
>   net/mlx5: separate port REG_C registers usage
>   net/mlx5: merge REG_C aliases
>   net/mlx5: initialize HWS flow tags registers in shared dev context
> 
> Itamar Gozlan (1):
>   net/mlx5/hws: adding method to query rule hash
> 
> Ori Kam (5):
>   net/mlx5: add support for calc hash
>   net/mlx5: fix insert by index
>   net/mlx5: fix query for NIC flow cap
>   net/mlx5: add support for more registers
>   net/mlx5: add validation support for tags
> 
>  drivers/common/mlx5/mlx5_devx_cmds.c   |  17 ++-
>  drivers/common/mlx5/mlx5_devx_cmds.h   |   2 +-
>  drivers/common/mlx5/mlx5_prm.h         |  56 ++++++-
>  drivers/net/mlx5/hws/meson.build       |   1 +
>  drivers/net/mlx5/hws/mlx5dr.h          |  26 ++++
>  drivers/net/mlx5/hws/mlx5dr_cmd.c      |   3 +
>  drivers/net/mlx5/hws/mlx5dr_cmd.h      |   3 +-
>  drivers/net/mlx5/hws/mlx5dr_crc32.c    |  61 ++++++++
>  drivers/net/mlx5/hws/mlx5dr_crc32.h    |  13 ++
>  drivers/net/mlx5/hws/mlx5dr_definer.c  |  20 ++-
>  drivers/net/mlx5/hws/mlx5dr_internal.h |   1 +
>  drivers/net/mlx5/hws/mlx5dr_rule.c     |  37 +++++
>  drivers/net/mlx5/hws/mlx5dr_rule.h     |   1 +
>  drivers/net/mlx5/linux/mlx5_os.c       |  39 +----
>  drivers/net/mlx5/mlx5.c                |  79 +++++++++-
>  drivers/net/mlx5/mlx5.h                |  16 +-
>  drivers/net/mlx5/mlx5_flow.c           |  63 +++++---
>  drivers/net/mlx5/mlx5_flow.h           |  68 ++++++---
>  drivers/net/mlx5/mlx5_flow_dv.c        |  24 ++-
>  drivers/net/mlx5/mlx5_flow_hw.c        | 201 ++++++++-----------------
>  drivers/net/mlx5/mlx5_flow_meter.c     |  14 +-
>  21 files changed, 491 insertions(+), 254 deletions(-)  create mode 100644
> drivers/net/mlx5/hws/mlx5dr_crc32.c
>  create mode 100644 drivers/net/mlx5/hws/mlx5dr_crc32.h

Series LGTM.

Acked-by: Suanming Mou <suanmingm@nvidia.com>

Thanks.

> 
> --
> 2.39.2
  
Raslan Darawsheh Oct. 30, 2023, 5:11 p.m. UTC | #2
Hi,

> -----Original Message-----
> From: Suanming Mou <suanmingm@nvidia.com>
> Sent: Monday, October 30, 2023 10:38 AM
> To: Gregory Etelson <getelson@nvidia.com>; dev@dpdk.org
> Cc: Gregory Etelson <getelson@nvidia.com>; Maayan Kashani
> <mkashani@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>
> Subject: RE: [PATCH 00/13] net/mlx5: support more REG C registers
> 
> Hi,
> 
> > -----Original Message-----
> > From: Gregory Etelson <getelson@nvidia.com>
> > Sent: Monday, October 30, 2023 2:23 AM
> > To: dev@dpdk.org
> > Cc: Gregory Etelson <getelson@nvidia.com>; Maayan Kashani
> > <mkashani@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>
> > Subject: [PATCH 00/13] net/mlx5: support more REG C registers
> >
> > Support increased number of REG_Cx registers.
> >
> > Gregory Etelson (7):
> >   net/mlx5/hws: Definer, add mlx5dr context to definer_conv_data
> >   net/mlx5: add flow_hw_get_reg_id_from_ctx()
> >   net/mlx5/hws: Definer, use flow_hw_get_reg_id_from_ctx function call
> >   net/mlx5: add rte_device parameter to locate HWS registers
> >   net/mlx5: separate port REG_C registers usage
> >   net/mlx5: merge REG_C aliases
> >   net/mlx5: initialize HWS flow tags registers in shared dev context
> >
> > Itamar Gozlan (1):
> >   net/mlx5/hws: adding method to query rule hash
> >
> > Ori Kam (5):
> >   net/mlx5: add support for calc hash
> >   net/mlx5: fix insert by index
> >   net/mlx5: fix query for NIC flow cap
> >   net/mlx5: add support for more registers
> >   net/mlx5: add validation support for tags
> >
> >  drivers/common/mlx5/mlx5_devx_cmds.c   |  17 ++-
> >  drivers/common/mlx5/mlx5_devx_cmds.h   |   2 +-
> >  drivers/common/mlx5/mlx5_prm.h         |  56 ++++++-
> >  drivers/net/mlx5/hws/meson.build       |   1 +
> >  drivers/net/mlx5/hws/mlx5dr.h          |  26 ++++
> >  drivers/net/mlx5/hws/mlx5dr_cmd.c      |   3 +
> >  drivers/net/mlx5/hws/mlx5dr_cmd.h      |   3 +-
> >  drivers/net/mlx5/hws/mlx5dr_crc32.c    |  61 ++++++++
> >  drivers/net/mlx5/hws/mlx5dr_crc32.h    |  13 ++
> >  drivers/net/mlx5/hws/mlx5dr_definer.c  |  20 ++-
> >  drivers/net/mlx5/hws/mlx5dr_internal.h |   1 +
> >  drivers/net/mlx5/hws/mlx5dr_rule.c     |  37 +++++
> >  drivers/net/mlx5/hws/mlx5dr_rule.h     |   1 +
> >  drivers/net/mlx5/linux/mlx5_os.c       |  39 +----
> >  drivers/net/mlx5/mlx5.c                |  79 +++++++++-
> >  drivers/net/mlx5/mlx5.h                |  16 +-
> >  drivers/net/mlx5/mlx5_flow.c           |  63 +++++---
> >  drivers/net/mlx5/mlx5_flow.h           |  68 ++++++---
> >  drivers/net/mlx5/mlx5_flow_dv.c        |  24 ++-
> >  drivers/net/mlx5/mlx5_flow_hw.c        | 201 ++++++++-----------------
> >  drivers/net/mlx5/mlx5_flow_meter.c     |  14 +-
> >  21 files changed, 491 insertions(+), 254 deletions(-)  create mode
> > 100644 drivers/net/mlx5/hws/mlx5dr_crc32.c
> >  create mode 100644 drivers/net/mlx5/hws/mlx5dr_crc32.h
> 
> Series LGTM.
> 
> Acked-by: Suanming Mou <suanmingm@nvidia.com>
> 
> Thanks.
> 
> >
> > --
> > 2.39.2

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh