Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83987/?format=api
http://patches.dpdk.org/api/patches/83987/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1605080208-12165-2-git-send-email-michaelba@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": "<1605080208-12165-2-git-send-email-michaelba@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1605080208-12165-2-git-send-email-michaelba@nvidia.com", "date": "2020-11-11T07:36:45", "name": "[2/5] net/mlx5: fix Rx queue creation error flow", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c5a1be200d098f654438a5ba66a01edbbb08a585", "submitter": { "id": 1949, "url": "http://patches.dpdk.org/api/people/1949/?format=api", "name": "Michael Baum", "email": "michaelba@nvidia.com" }, "delegate": { "id": 3268, "url": "http://patches.dpdk.org/api/users/3268/?format=api", "username": "rasland", "first_name": "Raslan", "last_name": "Darawsheh", "email": "rasland@nvidia.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1605080208-12165-2-git-send-email-michaelba@nvidia.com/mbox/", "series": [ { "id": 13800, "url": "http://patches.dpdk.org/api/series/13800/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13800", "date": "2020-11-11T07:36:44", "name": "[1/5] net/mlx5: fix unused calculation in RSS expansion", "version": 1, "mbox": "http://patches.dpdk.org/series/13800/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83987/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/83987/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 6BF96A09D2;\n\tWed, 11 Nov 2020 08:37:29 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BC3BF569B;\n\tWed, 11 Nov 2020 08:37:19 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id C163B4C90\n for <dev@dpdk.org>; Wed, 11 Nov 2020 08:37:18 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n michaelba@nvidia.com) with SMTP; 11 Nov 2020 09:37:13 +0200", "from nvidia.com (pegasus07.mtr.labs.mlnx [10.210.16.112])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0AB7b2wm028356;\n Wed, 11 Nov 2020 09:37:13 +0200" ], "From": "Michael Baum <michaelba@nvidia.com>", "To": "dev@dpdk.org", "Cc": "Matan Azrad <matan@nvidia.com>, Raslan Darawsheh <rasland@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>", "Date": "Wed, 11 Nov 2020 07:36:45 +0000", "Message-Id": "<1605080208-12165-2-git-send-email-michaelba@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1605080208-12165-1-git-send-email-michaelba@nvidia.com>", "References": "<1605080208-12165-1-git-send-email-michaelba@nvidia.com>", "Subject": "[dpdk-dev] [PATCH 2/5] net/mlx5: fix Rx queue creation error flow", "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": "In Rx queue creation, there is a validation for the Rx configuration.\n\nWhen scatter offload validation for buffer split is failed, the Rx queue\nobject memory was not freed what caused a memory leak.\n\nFree it.\n\nFixes: a0a45e8af723 (\"net/mlx5: configure Rx queue for buffer split\")\n\nSigned-off-by: Michael Baum <michaelba@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/mlx5_rxq.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c\nindex 4e6b8f4..0693c92 100644\n--- a/drivers/net/mlx5/mlx5_rxq.c\n+++ b/drivers/net/mlx5/mlx5_rxq.c\n@@ -1506,7 +1506,7 @@ struct mlx5_rxq_ctrl *\n \t\t\tdev->data->port_id, idx, mb_len, max_rx_pkt_len,\n \t\t\tRTE_PKTMBUF_HEADROOM);\n \t\trte_errno = ENOSPC;\n-\t\treturn NULL;\n+\t\tgoto error;\n \t}\n \ttmpl->type = MLX5_RXQ_TYPE_STANDARD;\n \tif (mlx5_mr_btree_init(&tmpl->rxq.mr_ctrl.cache_bh,\n", "prefixes": [ "2/5" ] }{ "id": 83987, "url": "