Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/79496/?format=api
https://patches.dpdk.org/api/patches/79496/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/a98fe9bd8be2c05dfb3cc32c942d069b4cadf163.1601580235.git.dekelp@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": "<a98fe9bd8be2c05dfb3cc32c942d069b4cadf163.1601580235.git.dekelp@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/a98fe9bd8be2c05dfb3cc32c942d069b4cadf163.1601580235.git.dekelp@nvidia.com", "date": "2020-10-01T19:32:47", "name": "[v2,2/2] app/testpmd: support query of AGE action", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "da1512bb6383d5e2cc7102dba2fbaa37bfc1ac43", "submitter": { "id": 1897, "url": "https://patches.dpdk.org/api/people/1897/?format=api", "name": "Dekel Peled", "email": "dekelp@nvidia.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/a98fe9bd8be2c05dfb3cc32c942d069b4cadf163.1601580235.git.dekelp@nvidia.com/mbox/", "series": [ { "id": 12654, "url": "https://patches.dpdk.org/api/series/12654/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12654", "date": "2020-10-01T19:32:45", "name": "support query of AGE action", "version": 2, "mbox": "https://patches.dpdk.org/series/12654/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/79496/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/79496/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D9F67A04BA;\n\tThu, 1 Oct 2020 21:33:43 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 32F7D1D627;\n\tThu, 1 Oct 2020 21:33:12 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id D90FF1D5CC\n for <dev@dpdk.org>; Thu, 1 Oct 2020 21:33:09 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n dekelp@nvidia.com) with SMTP; 1 Oct 2020 22:33:04 +0300", "from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx\n [10.228.134.250])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 091JX2in015337;\n Thu, 1 Oct 2020 22:33:04 +0300" ], "From": "Dekel Peled <dekelp@nvidia.com>", "To": "orika@nvidia.com, thomas@monjalon.net, ferruh.yigit@intel.com,\n arybchenko@solarflare.com, wenzhuo.lu@intel.com, beilei.xing@intel.com,\n bernard.iremonger@intel.com", "Cc": "dev@dpdk.org", "Date": "Thu, 1 Oct 2020 22:32:47 +0300", "Message-Id": "\n <a98fe9bd8be2c05dfb3cc32c942d069b4cadf163.1601580235.git.dekelp@nvidia.com>", "X-Mailer": "git-send-email 1.7.1", "In-Reply-To": "<cover.1601580235.git.dekelp@nvidia.com>", "References": "\n <5a46a1ed26cd7e89483d06eaf676d44a088738f2.1601456245.git.dekelp@nvidia.com>\n <cover.1601580235.git.dekelp@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v2 2/2] app/testpmd: support query of AGE action", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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": "Following ethdev update [1], this patch adds CLI support to query\ninformation related to AGE action.\n\n[1] https://mails.dpdk.org/archives/dev/2020-September/183699.html\n\nSigned-off-by: Dekel Peled <dekelp@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n app/test-pmd/config.c | 12 ++++++++++++\n 1 file changed, 12 insertions(+)", "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 418ea6d..cb268d0 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -1770,6 +1770,7 @@ void print_valid_ports(void)\n \tunion {\n \t\tstruct rte_flow_query_count count;\n \t\tstruct rte_flow_action_rss rss_conf;\n+\t\tstruct rte_flow_query_age age;\n \t} query;\n \tint ret;\n \n@@ -1792,6 +1793,7 @@ void print_valid_ports(void)\n \tswitch (action->type) {\n \tcase RTE_FLOW_ACTION_TYPE_COUNT:\n \tcase RTE_FLOW_ACTION_TYPE_RSS:\n+\tcase RTE_FLOW_ACTION_TYPE_AGE:\n \t\tbreak;\n \tdefault:\n \t\tprintf(\"Cannot query action type %d (%s)\\n\",\n@@ -1819,6 +1821,16 @@ void print_valid_ports(void)\n \tcase RTE_FLOW_ACTION_TYPE_RSS:\n \t\trss_config_display(&query.rss_conf);\n \t\tbreak;\n+\tcase RTE_FLOW_ACTION_TYPE_AGE:\n+\t\tprintf(\"%s:\\n\"\n+\t\t \" aged: %u\\n\"\n+\t\t \" last_hit_time_valid: %u\\n\"\n+\t\t \" last_hit_time: %\" PRIu32 \"\\n\",\n+\t\t name,\n+\t\t query.age.aged,\n+\t\t query.age.last_hit_time_valid,\n+\t\t query.age.last_hit_time);\n+\t\tbreak;\n \tdefault:\n \t\tprintf(\"Cannot display result for action type %d (%s)\\n\",\n \t\t action->type, name);\n", "prefixes": [ "v2", "2/2" ] }{ "id": 79496, "url": "