[00/10] Add sampling and mirroring support in MLX5 PMD
mbox series

Message ID 1602251436-269694-1-git-send-email-jiaweiw@nvidia.com
Headers show
Series
  • Add sampling and mirroring support in MLX5 PMD
Related show

Message

Jiawei Wang Oct. 9, 2020, 1:50 p.m. UTC
This patch set implement the flow sampling and mirroring for mlx5 driver.
MLX5 PMD driver will be responsible for validate and translate the sample action while creating a flow.

Depends-on: series-12828 ("support the flow-based traffic sampling")

Jiawei Wang (10):
  common/mlx5: glue for sample action
  common/mlx5: query sampler object capability via DevX
  net/mlx5: add the validate sample action
  net/mlx5: split sample flow into two sub flows
  net/mlx5: update translate function for sample action
  common/mlx5: add glue function for mirroring
  net/mlx5: update validation for mirroring flow
  net/mlx5: update translate function for mirror
  doc: add the sample flow limitation description
  doc: update offload dependencies document

 doc/guides/nics/mlx5.rst              |   11 +
 drivers/common/mlx5/linux/meson.build |    4 +
 drivers/common/mlx5/linux/mlx5_glue.c |   37 ++
 drivers/common/mlx5/linux/mlx5_glue.h |   35 +
 drivers/common/mlx5/mlx5_devx_cmds.c  |   27 +
 drivers/common/mlx5/mlx5_devx_cmds.h  |    1 +
 drivers/common/mlx5/mlx5_prm.h        |   61 ++
 drivers/net/mlx5/linux/mlx5_os.c      |   14 +
 drivers/net/mlx5/mlx5.c               |   22 +
 drivers/net/mlx5/mlx5.h               |    6 +
 drivers/net/mlx5/mlx5_flow.c          |  400 +++++++++++-
 drivers/net/mlx5/mlx5_flow.h          |   61 ++
 drivers/net/mlx5/mlx5_flow_dv.c       | 1126 ++++++++++++++++++++++++++++++++-
 13 files changed, 1769 insertions(+), 36 deletions(-)