Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83988/?format=api
http://patches.dpdk.org/api/patches/83988/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1605080208-12165-3-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-3-git-send-email-michaelba@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1605080208-12165-3-git-send-email-michaelba@nvidia.com", "date": "2020-11-11T07:36:46", "name": "[3/5] net/mlx5: fix ASO age pools resize error flow", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "771469e42df4805d1353583d59ec31f690768b23", "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-3-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/83988/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/83988/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 8DED4A09D2;\n\tWed, 11 Nov 2020 08:37:48 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 37BEB567C;\n\tWed, 11 Nov 2020 08:37:30 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id CA3B04C90\n for <dev@dpdk.org>; Wed, 11 Nov 2020 08:37:28 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n michaelba@nvidia.com) with SMTP; 11 Nov 2020 09:37:23 +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 0AB7b2wn028356;\n Wed, 11 Nov 2020 09:37:23 +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:46 +0000", "Message-Id": "<1605080208-12165-3-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 3/5] net/mlx5: fix ASO age pools resize 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 ASO age pools resize, the PMD starts ASO data-path.\n\nWhen starting ASO data-path is failed, the pools memory was not freed\nwhat caused a memory leak.\n\nFree it.\n\nFixes: f935ed4b645a (\"net/mlx5: support flow hit action for aging\")\n\nSigned-off-by: Michael Baum <michaelba@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/mlx5_flow_dv.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c\nindex 78c710f..8214c59 100644\n--- a/drivers/net/mlx5/mlx5_flow_dv.c\n+++ b/drivers/net/mlx5/mlx5_flow_dv.c\n@@ -9347,8 +9347,10 @@ struct mlx5_cache_entry *\n \t\t/* First ASO flow hit allocation - starting ASO data-path. */\n \t\tint ret = mlx5_aso_queue_start(priv->sh);\n \n-\t\tif (ret)\n+\t\tif (ret) {\n+\t\t\tmlx5_free(pools);\n \t\t\treturn ret;\n+\t\t}\n \t}\n \tmng->n = resize;\n \tmng->pools = pools;\n", "prefixes": [ "3/5" ] }{ "id": 83988, "url": "