From patchwork Wed Apr 14 08:56:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haifei Luo X-Patchwork-Id: 91431 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 27B03A0562; Wed, 14 Apr 2021 10:57:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E51B161868; Wed, 14 Apr 2021 10:57:02 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id BF89B161858 for ; Wed, 14 Apr 2021 10:56:59 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from haifeil@nvidia.com) with SMTP; 14 Apr 2021 11:56:58 +0300 Received: from nvidia.com (gen-l-vrt-173.mtl.labs.mlnx [10.234.173.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 13E8uwAa007600; Wed, 14 Apr 2021 11:56:58 +0300 From: Haifei Luo To: dev@dpdk.org Cc: orika@nvidia.com, viacheslavo@nvidia.com, rasland@nvidia.com, xuemingl@nvidia.com, haifeil@nvidia.com Date: Wed, 14 Apr 2021 11:56:53 +0300 Message-Id: <1618390615-193593-1-git-send-email-haifeil@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1618384952-179763-1-git-send-email-haifeil@nvidia.com> References: <1618384952-179763-1-git-send-email-haifeil@nvidia.com> Subject: [dpdk-dev] [PATCH v2 0/2] support single flow dump on MLX5 PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Dump information for all flows are supported and it is useful to dump one flow. Add single flow dump support on MLX5 PMD. Modify API mlx5_flow_dev_dump to support. Modify mlx5_socket since one extra arg flow_ptr is added. Depends-on: series=16362 ("support single flow dump") http://patchwork.dpdk.org/project/dpdk/list/?series=16362 V2: rebase to fix apply patch failure. Haifei Luo (2): common/mlx5: add mlx5 APIs for single flow dump feature net/mlx5: add mlx5 APIs for single flow dump feature drivers/common/mlx5/linux/meson.build | 6 ++++-- drivers/common/mlx5/linux/mlx5_glue.c | 13 +++++++++++++ drivers/common/mlx5/linux/mlx5_glue.h | 1 + drivers/common/mlx5/mlx5_devx_cmds.c | 14 ++++++++++++++ drivers/common/mlx5/mlx5_devx_cmds.h | 2 ++ drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_socket.c | 30 ++++++++++++++++++++++++------ drivers/net/mlx5/mlx5_flow.c | 30 ++++++++++++++++++++++++++++-- 8 files changed, 87 insertions(+), 10 deletions(-)