Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/108515/?format=api
http://patchwork.dpdk.org/api/patches/108515/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220303070042.29075-1-ndabilpuram@marvell.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20220303070042.29075-1-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220303070042.29075-1-ndabilpuram@marvell.com", "date": "2022-03-03T07:00:41", "name": "[1/2] common/cnxk: revert check on bitmap for tm", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3cff02d33626c218840cf209897486e1510b7403", "submitter": { "id": 1202, "url": "http://patchwork.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@marvell.com" }, "delegate": { "id": 310, "url": "http://patchwork.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220303070042.29075-1-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 22002, "url": "http://patchwork.dpdk.org/api/series/22002/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=22002", "date": "2022-03-03T07:00:41", "name": "[1/2] common/cnxk: revert check on bitmap for tm", "version": 1, "mbox": "http://patchwork.dpdk.org/series/22002/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/108515/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/108515/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 C3F0CA04A2;\n\tThu, 3 Mar 2022 08:00:52 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 814F240687;\n\tThu, 3 Mar 2022 08:00:52 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 6ED4F40141\n for <dev@dpdk.org>; Thu, 3 Mar 2022 08:00:50 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 2233tksj003805\n for <dev@dpdk.org>; Wed, 2 Mar 2022 23:00:49 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ej4vfdka8-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 02 Mar 2022 23:00:49 -0800", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 2 Mar 2022 23:00:47 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Wed, 2 Mar 2022 23:00:47 -0800", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 5C5493F7142;\n Wed, 2 Mar 2022 23:00:45 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-type; s=pfpt0220;\n bh=a+sfrcj1Nk36RZQJmxIArYwgIKmYDKvs9ewdBK1sqXo=;\n b=jxdOwX3ieNze/v6W3OJ28IEg3ANPiAcx2Hg0oi3FPFYpI/PuAjad8e6CbPFb/QnAk/sw\n 6TtcpRsMk8O0jPxk/LGq1KQCNMPiY50NJrcfEKiom9RzPwH8y1A33AjAfGzjnErpNJJc\n rCsFNiKADBDWx0LJHrO8NtcK6riOfXRG7US2dAXa3uFW8ausHHdWibzwys4ZO4aDlmB4\n Qd8lWziu/f7leHzOk4DBfCtkFpuajNXUKVf8CmbX2gU7rDW6722hsKhbh4tHi+2sJjY5\n w24KhvmyE3jA3YpJ0xYhNMr6tkUqR7P5t5QrF+Ca9jpuwwPwirdYq/gk65VquFjPBoy6 dQ==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "<jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, \"Kiran\n Kumar K\" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>,\n Satha Rao <skoteshwar@marvell.com>", "CC": "<dev@dpdk.org>, <gmuthukrishn@marvell.com>", "Subject": "[PATCH 1/2] common/cnxk: revert check on bitmap for tm", "Date": "Thu, 3 Mar 2022 12:30:41 +0530", "Message-ID": "<20220303070042.29075-1-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "70J7QlzZhrXJ4zP-4l_9-TI18N7d1_Zk", "X-Proofpoint-GUID": "70J7QlzZhrXJ4zP-4l_9-TI18N7d1_Zk", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514\n definitions=2022-03-03_02,2022-02-26_01,2022-02-23_01", "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" }, "content": "Revert change to return error on case where no slab of free\nresources is found. That error check break's a case where\nthere is a spare schq to be reused that was just allocated\nfor sake of contiguous static TM nodes.\n\nFixes: 14f7e5d4bf2d (\"common/cnxk: add missing checks of return values\")\nCc: gmuthukrishn@marvell.com\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/common/cnxk/roc_nix_tm.c | 6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_nix_tm.c b/drivers/common/cnxk/roc_nix_tm.c\nindex 7a17780..5b70c7b 100644\n--- a/drivers/common/cnxk/roc_nix_tm.c\n+++ b/drivers/common/cnxk/roc_nix_tm.c\n@@ -1042,10 +1042,8 @@ nix_tm_assign_hw_id(struct nix *nix, struct nix_tm_node *parent,\n \t\t\treturn -EFAULT;\n \t\t}\n \n-\t\tif (!slab) {\n-\t\t\tif (!plt_bitmap_scan(bmp, &pos, &slab))\n-\t\t\t\treturn -ENOENT;\n-\t\t}\n+\t\tif (!slab)\n+\t\t\tplt_bitmap_scan(bmp, &pos, &slab);\n \n \t\tif (child->priority == parent->rr_prio && spare_schq != -1) {\n \t\t\t/* Use spare schq first if present */\n", "prefixes": [ "1/2" ] }{ "id": 108515, "url": "