From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09EEBA0562; Wed, 14 Apr 2021 13:26:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8525A1619D5; Wed, 14 Apr 2021 13:26:33 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id D80871619C9 for ; Wed, 14 Apr 2021 13:26:31 +0200 (CEST) IronPort-SDR: 1opF8pQwUassb7fO4VtnvWLVZFlPLwwdEe/F3ohCvAjvRKhpgq5DKEtuvSsjdFki/erE/AWcxF dbmKFwHuZDbQ== X-IronPort-AV: E=McAfee;i="6200,9189,9953"; a="215111176" X-IronPort-AV: E=Sophos;i="5.82,221,1613462400"; d="scan'208";a="215111176" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 04:26:30 -0700 IronPort-SDR: ia9r3MRNs3CslDS7doGuSVhPVD8GDP83YYBFBLP3ij40LxYj9Wfz/RLPwW7QXPFXT5mvN3XPBx jLGK3kIMI+cw== X-IronPort-AV: E=Sophos;i="5.82,221,1613462400"; d="scan'208";a="461180946" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.205.34]) ([10.213.205.34]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 04:26:29 -0700 To: Haifei Luo , dev@dpdk.org Cc: orika@nvidia.com, viacheslavo@nvidia.com, rasland@nvidia.com, xuemingl@nvidia.com, ajit.khaparde@broadcom.com References: <1615277716-64404-1-git-send-email-haifeil@nvidia.com> <1618395600-215396-1-git-send-email-haifeil@nvidia.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <355881b7-2832-ca44-90d4-a1054c88b604@intel.com> Date: Wed, 14 Apr 2021 12:26:25 +0100 MIME-Version: 1.0 In-Reply-To: <1618395600-215396-1-git-send-email-haifeil@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6 0/2] single flow dump 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" On 4/14/2021 11:19 AM, Haifei Luo wrote: > Dump internal representation information of all flows is supported. > It is useful to dump one flow. To implement this requirement, > add this CLI to dump one rule: flow dump PORT rule ID > and the CLI to dump all: flow dump PORT all > Examples: > testpmd> flow dump 0 all > testpmd> flow dump 0 rule 0 > The first 0 is for port. The second one is for rule id. > > For RTE API, add one arg rte_flow in rte_flow_dev_dump. > If rte_flow is null, it will dump information for all flows. > Otherwise, it will dump one. > Accordingly, add this arg in related dev_dump and driver APIs. > > V2: fix comments about rte API. V1 has one API rte_flow_dump, > remove it and update rte_flow_dev_dump by adding one arg rte_flow. > > V3: split into two series. One is for ethdev/testpmd/doc, the other is > for drivers. > > V4: Fix comments. Remove "Flow dump" from features/default.ini and > features/mlx5.ini. > > V5: Fix comments. Modify title and enhance API's description. > > V6: Distribute the release notes updates to the patches that > introduces the change. > > Haifei Luo (2): > ethdev: dump single flow rule > app/testpmd: add CLIs for single flow dump feature > Series applied to dpdk-next-net/main, thanks.