Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/91166/?format=api
http://patches.dpdk.org/api/patches/91166/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210413035046.28578-1-lizh@nvidia.com/", "project": { "id": 1, "url": "http://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": "<20210413035046.28578-1-lizh@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210413035046.28578-1-lizh@nvidia.com", "date": "2021-04-13T03:50:41", "name": "[v4,0/4] Support PPS(packet per second) on meter", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1967, "url": "http://patches.dpdk.org/api/people/1967/?format=api", "name": "Li Zhang", "email": "lizh@nvidia.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210413035046.28578-1-lizh@nvidia.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/91166/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/91166/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 BC728A0524;\n\tTue, 13 Apr 2021 05:50:52 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8AECB160A2C;\n\tTue, 13 Apr 2021 05:50:52 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 7F893160A2A\n for <dev@dpdk.org>; Tue, 13 Apr 2021 05:50:50 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n lizh@nvidia.com)\n with SMTP; 13 Apr 2021 06:50:49 +0300", "from nvidia.com (c-135-185-1-009.mtl.labs.mlnx [10.135.185.9])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 13D3oniJ027261;\n Tue, 13 Apr 2021 06:50:49 +0300" ], "From": "Li Zhang <lizh@nvidia.com>", "To": "dekelp@nvidia.com, orika@nvidia.com, viacheslavo@nvidia.com,\n matan@nvidia.com, shahafs@nvidia.com, cristian.dumitrescu@intel.com,\n lironh@marvell.com, jerinj@marvell.com, ferruh.yigit@intel.com", "Cc": "dev@dpdk.org, thomas@monjalon.net, rasland@nvidia.com, roniba@nvidia.com", "Date": "Tue, 13 Apr 2021 06:50:41 +0300", "Message-Id": "<20210413035046.28578-1-lizh@nvidia.com>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20210331085405.1445546-1-lizh@nvidia.com>", "References": "<20210331085405.1445546-1-lizh@nvidia.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v4 0/4] Support PPS(packet per second) on meter", "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": "Currently meter algorithms only supports rate is bytes per second(BPS).\nAdd packet_mode flag in meter profile parameters data structure.\nSo that it can meter traffic by packet per second.\n\nWhen packet_mode is 0, the profile rates and bucket sizes are\nspecified in bytes per second and bytes\nwhen packet_mode is not 0, the profile rates and bucket sizes are\nspecified in packets and packets per second.\n\nAdd the necessary checks to the existing drivers implementing\nthe rte_mtr API to makes sure that profiles with\npacket_mode set to TRUE are rejected.\n\nRFC (\"adds support PPS(packet per second) on meter\")\nhttps://patchwork.dpdk.org/project/dpdk/patch/20210125012023.1769769-2-lizh@nvidia.com/\n\nDepends-on: series=16301 (\"Support meter policy API \")\nhttps://patchwork.dpdk.org/project/dpdk/list/?series=16301\n\nV2: create a unified patch that contains both the series with\n\tthe API changes and the series with the necessary error checks in the drivers.\nV3: Fix comments about commit-log.\nV4: Fix comments about Depends-on and rebase.\n\nLi Zhang (4):\n ethdev: add packet mode in meter profile structure\n app/testpmd: add meter profile packet mode option\n net/softnic: check meter packet mode\n net/mvpp2: check meter packet mode\n\n app/test-pmd/cmdline_mtr.c | 40 ++++++++-\n doc/guides/rel_notes/release_21_05.rst | 12 +++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 31 +++----\n drivers/net/mvpp2/mrvl_mtr.c | 6 ++\n drivers/net/softnic/rte_eth_softnic_meter.c | 8 ++\n lib/librte_ethdev/rte_mtr.h | 90 ++++++++++++++++++---\n 6 files changed, 159 insertions(+), 28 deletions(-)", "diff": null, "prefixes": [ "v4", "0/4" ] }{ "id": 91166, "url": "