[v5,00/10] net/mlx5: add port representor support

Message ID 20180710155743.14448-1-adrien.mazarguil@6wind.com (mailing list archive)
Headers
Series net/mlx5: add port representor support |

Message

Adrien Mazarguil July 10, 2018, 4:04 p.m. UTC
  This series adds support for port (VF) representors to the mlx5 PMD, which
can be instantiated using the standard "representor" device parameter.

Note the PMD only probes existing representors which exist as Verbs devices;
their creation is part of the host system configuration.

v5 changes:

- Fixed and added missing HAVE_* definitions to Makefile for systems that do
  not expose them. Series now compiles fine down to RHEL 7.2 inclusive.

v4 changes:

- Fixed domain ID release that did not work, see relevant patch.
- Rebased series.

v3 changes:

- Added the following patches:
  - net/mlx5: drop useless support for several Verbs ports
  - net/mlx5: probe port representors in natural order
  - net/mlx5: support negative identifiers for port representors
- See individual patches for details.
- Rebased series.

v2 changes:

- See individual patches for details.
- Rebased series.

Adrien Mazarguil (10):
  net/mlx5: rename confusing object in probe code
  net/mlx5: remove redundant objects in probe code
  net/mlx5: drop useless support for several Verbs ports
  net/mlx5: split PCI from generic probing code
  net/mlx5: re-indent generic probing function
  net/mlx5: add port representor awareness
  net/mlx5: probe all port representors
  net/mlx5: probe port representors in natural order
  net/mlx5: add parameter for port representors
  net/mlx5: support negative identifiers for port representors

 doc/guides/nics/mlx5.rst                |   12 +
 doc/guides/prog_guide/poll_mode_drv.rst |    2 +
 drivers/net/mlx5/Makefile               |   45 ++
 drivers/net/mlx5/mlx5.c                 | 1108 ++++++++++++++++----------
 drivers/net/mlx5/mlx5.h                 |   29 +-
 drivers/net/mlx5/mlx5_ethdev.c          |  135 +++-
 drivers/net/mlx5/mlx5_mac.c             |    2 +-
 drivers/net/mlx5/mlx5_nl.c              |  308 ++++++-
 drivers/net/mlx5/mlx5_stats.c           |    6 +-
 drivers/net/mlx5/mlx5_txq.c             |    2 +-
 10 files changed, 1175 insertions(+), 474 deletions(-)
  

Comments

Shahaf Shuler July 12, 2018, 7:51 a.m. UTC | #1
Tuesday, July 10, 2018 7:05 PM, Adrien Mazarguil:
> Subject: [PATCH v5 00/10] net/mlx5: add port representor support
> 
> This series adds support for port (VF) representors to the mlx5 PMD, which
> can be instantiated using the standard "representor" device parameter.
> 
> Note the PMD only probes existing representors which exist as Verbs
> devices; their creation is part of the host system configuration.
> 

Applied to next-net-mlx besides the last patch
[v5,10/10] net/mlx5: support negative identifiers for port representors

As agreed. 

Thanks!

> v5 changes:
> 
> - Fixed and added missing HAVE_* definitions to Makefile for systems that
> do
>   not expose them. Series now compiles fine down to RHEL 7.2 inclusive.
> 
> v4 changes:
> 
> - Fixed domain ID release that did not work, see relevant patch.
> - Rebased series.
> 
> v3 changes:
> 
> - Added the following patches:
>   - net/mlx5: drop useless support for several Verbs ports
>   - net/mlx5: probe port representors in natural order
>   - net/mlx5: support negative identifiers for port representors
> - See individual patches for details.
> - Rebased series.
> 
> v2 changes:
> 
> - See individual patches for details.
> - Rebased series.
> 
> Adrien Mazarguil (10):
>   net/mlx5: rename confusing object in probe code
>   net/mlx5: remove redundant objects in probe code
>   net/mlx5: drop useless support for several Verbs ports
>   net/mlx5: split PCI from generic probing code
>   net/mlx5: re-indent generic probing function
>   net/mlx5: add port representor awareness
>   net/mlx5: probe all port representors
>   net/mlx5: probe port representors in natural order
>   net/mlx5: add parameter for port representors
>   net/mlx5: support negative identifiers for port representors
> 
>  doc/guides/nics/mlx5.rst                |   12 +
>  doc/guides/prog_guide/poll_mode_drv.rst |    2 +
>  drivers/net/mlx5/Makefile               |   45 ++
>  drivers/net/mlx5/mlx5.c                 | 1108 ++++++++++++++++----------
>  drivers/net/mlx5/mlx5.h                 |   29 +-
>  drivers/net/mlx5/mlx5_ethdev.c          |  135 +++-
>  drivers/net/mlx5/mlx5_mac.c             |    2 +-
>  drivers/net/mlx5/mlx5_nl.c              |  308 ++++++-
>  drivers/net/mlx5/mlx5_stats.c           |    6 +-
>  drivers/net/mlx5/mlx5_txq.c             |    2 +-
>  10 files changed, 1175 insertions(+), 474 deletions(-)
> 
> --
> 2.11.0