Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/91441/?format=api
https://patches.dpdk.org/api/patches/91441/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1618395600-215396-1-git-send-email-haifeil@nvidia.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1618395600-215396-1-git-send-email-haifeil@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1618395600-215396-1-git-send-email-haifeil@nvidia.com", "date": "2021-04-14T10:19:58", "name": "[v6,0/2] single flow dump", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 2131, "url": "https://patches.dpdk.org/api/people/2131/?format=api", "name": "Haifei Luo", "email": "haifeil@nvidia.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1618395600-215396-1-git-send-email-haifeil@nvidia.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/91441/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/91441/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4A308A0562;\n\tWed, 14 Apr 2021 12:20:06 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 29915161959;\n\tWed, 14 Apr 2021 12:20:06 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id DDC67161956\n for <dev@dpdk.org>; Wed, 14 Apr 2021 12:20:04 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n haifeil@nvidia.com) with SMTP; 14 Apr 2021 13:20:02 +0300", "from nvidia.com (gen-l-vrt-173.mtl.labs.mlnx [10.234.173.1])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 13EAK2aE029750;\n Wed, 14 Apr 2021 13:20:02 +0300" ], "From": "Haifei Luo <haifeil@nvidia.com>", "To": "dev@dpdk.org", "Cc": "orika@nvidia.com, viacheslavo@nvidia.com, rasland@nvidia.com,\n xuemingl@nvidia.com, haifeil@nvidia.com, ajit.khaparde@broadcom.com", "Date": "Wed, 14 Apr 2021 13:19:58 +0300", "Message-Id": "<1618395600-215396-1-git-send-email-haifeil@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1615277716-64404-1-git-send-email-haifeil@nvidia.com>", "References": "<1615277716-64404-1-git-send-email-haifeil@nvidia.com>", "Subject": "[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 <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Dump internal representation information of all flows is supported.\nIt is useful to dump one flow. To implement this requirement,\nadd this CLI to dump one rule: flow dump PORT rule ID\n and the CLI to dump all: flow dump PORT all\nExamples:\n testpmd> flow dump 0 all\n testpmd> flow dump 0 rule 0\nThe first 0 is for port. The second one is for rule id.\n\nFor RTE API, add one arg rte_flow in rte_flow_dev_dump.\nIf rte_flow is null, it will dump information for all flows.\nOtherwise, it will dump one.\nAccordingly, add this arg in related dev_dump and driver APIs.\n\nV2: fix comments about rte API. V1 has one API rte_flow_dump,\nremove it and update rte_flow_dev_dump by adding one arg rte_flow.\n\nV3: split into two series. One is for ethdev/testpmd/doc, the other is\nfor drivers.\n\nV4: Fix comments. Remove \"Flow dump\" from features/default.ini and\nfeatures/mlx5.ini.\n\nV5: Fix comments. Modify title and enhance API's description.\n\nV6: Distribute the release notes updates to the patches that \nintroduces the change. \n\nHaifei Luo (2):\n ethdev: dump single flow rule\n app/testpmd: add CLIs for single flow dump feature\n\n app/test-pmd/cmdline_flow.c | 55 +++++++++++++++++++++++++----\n app/test-pmd/config.c | 38 ++++++++++++++++++--\n app/test-pmd/testpmd.h | 3 +-\n doc/guides/nics/mlx5.rst | 9 +++--\n doc/guides/rel_notes/release_21_05.rst | 5 +++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 +++-\n drivers/net/mlx5/linux/mlx5_socket.c | 2 +-\n drivers/net/mlx5/mlx5.h | 4 +--\n drivers/net/mlx5/mlx5_flow.c | 9 +++--\n drivers/net/octeontx2/otx2_flow.c | 9 ++++-\n lib/librte_ethdev/rte_flow.c | 5 +--\n lib/librte_ethdev/rte_flow.h | 5 ++-\n lib/librte_ethdev/rte_flow_driver.h | 1 +\n 13 files changed, 126 insertions(+), 25 deletions(-)", "diff": null, "prefixes": [ "v6", "0/2" ] }{ "id": 91441, "url": "