From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFE11A04B6; Tue, 13 Oct 2020 10:20:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9AEB71DA7A; Tue, 13 Oct 2020 10:17:50 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 5315D1DA45 for ; Tue, 13 Oct 2020 10:17:36 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from jiaweiw@nvidia.com) with SMTP; 13 Oct 2020 11:17:30 +0300 Received: from nvidia.com (gen-l-vrt-280.mtl.labs.mlnx [10.237.45.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09D8HU0U022749; Tue, 13 Oct 2020 11:17:30 +0300 From: Jiawei Wang To: orika@nvidia.com, viacheslavo@nvidia.com, matan@nvidia.com, thomas@monjalon.net Cc: dev@dpdk.org, rasland@nvidia.com, asafp@nvidia.com Date: Tue, 13 Oct 2020 11:17:20 +0300 Message-Id: <1602577050-178398-1-git-send-email-jiaweiw@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1602251436-269694-1-git-send-email-jiaweiw@nvidia.com> References: <1602251436-269694-1-git-send-email-jiaweiw@nvidia.com> Subject: [dpdk-dev] [PATCH v2 00/10] Add sampling and mirroring support in MLX5 PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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") v2: * Fix incorrect check for E-Switch sample split flow. 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(-) -- 1.8.3.1