Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/85052/?format=api
https://patches.dpdk.org/api/patches/85052/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201213102056.11380-5-talshn@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": "<20201213102056.11380-5-talshn@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201213102056.11380-5-talshn@nvidia.com", "date": "2020-12-13T10:20:28", "name": "[v3,04/32] net/mlx5: fix freeing packet pacing", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f03dc60c46a22c4ee4a44a08bf571b90ef9ddfa7", "submitter": { "id": 1893, "url": "https://patches.dpdk.org/api/people/1893/?format=api", "name": "Tal Shnaiderman", "email": "talshn@nvidia.com" }, "delegate": { "id": 3268, "url": "https://patches.dpdk.org/api/users/3268/?format=api", "username": "rasland", "first_name": "Raslan", "last_name": "Darawsheh", "email": "rasland@nvidia.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201213102056.11380-5-talshn@nvidia.com/mbox/", "series": [ { "id": 14276, "url": "https://patches.dpdk.org/api/series/14276/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14276", "date": "2020-12-13T10:20:24", "name": "mlx5 Windows support - part #5", "version": 3, "mbox": "https://patches.dpdk.org/series/14276/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/85052/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/85052/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 7873CA04B5;\n\tSun, 13 Dec 2020 11:23:29 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 51FE4C9C6;\n\tSun, 13 Dec 2020 11:21:58 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 40580C974\n for <dev@dpdk.org>; Sun, 13 Dec 2020 11:21:48 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@nvidia.com) with SMTP; 13 Dec 2020 12:21:41 +0200", "from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0BDALe1U018562;\n Sun, 13 Dec 2020 12:21:41 +0200" ], "From": "Tal Shnaiderman <talshn@nvidia.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, matan@nvidia.com, rasland@nvidia.com,\n ophirmu@nvidia.com, stable@dpdk.org", "Date": "Sun, 13 Dec 2020 12:20:28 +0200", "Message-Id": "<20201213102056.11380-5-talshn@nvidia.com>", "X-Mailer": "git-send-email 2.16.1.windows.4", "In-Reply-To": "<20201213102056.11380-1-talshn@nvidia.com>", "References": "<20201210150648.8784-2-talshn@nvidia.com>\n <20201213102056.11380-1-talshn@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v3 04/32] net/mlx5: fix freeing packet pacing", "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": "From: Ophir Munk <ophirmu@nvidia.com>\n\nPacket pacing is allocated under condition #ifdef HAVE_MLX5DV_PP_ALLOC.\nIn a similar way - free packet pacing index under the same condition.\nThis update is required to successfully compile under operating systems\nwhich do not support packet pacing.\n\nFixes: aef1e20ebeb2 (\"net/mlx5: allocate packet pacing context\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ophir Munk <ophirmu@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/mlx5_txpp.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/drivers/net/mlx5/mlx5_txpp.c b/drivers/net/mlx5/mlx5_txpp.c\nindex 2438bf1f1d..21675ab17a 100644\n--- a/drivers/net/mlx5/mlx5_txpp.c\n+++ b/drivers/net/mlx5/mlx5_txpp.c\n@@ -57,11 +57,16 @@ mlx5_txpp_create_event_channel(struct mlx5_dev_ctx_shared *sh)\n static void\n mlx5_txpp_free_pp_index(struct mlx5_dev_ctx_shared *sh)\n {\n+#ifdef HAVE_MLX5DV_PP_ALLOC\n \tif (sh->txpp.pp) {\n \t\tmlx5_glue->dv_free_pp(sh->txpp.pp);\n \t\tsh->txpp.pp = NULL;\n \t\tsh->txpp.pp_id = 0;\n \t}\n+#else\n+\tRTE_SET_USED(sh);\n+\tDRV_LOG(ERR, \"Freeing pacing index is not supported.\");\n+#endif\n }\n \n /* Allocate Packet Pacing index from kernel via mlx5dv call. */\n", "prefixes": [ "v3", "04/32" ] }{ "id": 85052, "url": "