[v4,00/10] net/mlx5: add port representor support
mbox series

Message ID 20180705083934.5535-1-adrien.mazarguil@6wind.com
Headers show
Series
  • net/mlx5: add port representor support
Related show

Message

Adrien Mazarguil July 5, 2018, 8:45 a.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.

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               |   30 +
 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              |  297 ++++++-
 drivers/net/mlx5/mlx5_stats.c           |    6 +-
 drivers/net/mlx5/mlx5_txq.c             |    2 +-
 10 files changed, 1149 insertions(+), 474 deletions(-)