Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/105040/?format=api
http://patchwork.dpdk.org/api/patches/105040/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20211209091342.27017-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": "<20211209091342.27017-1-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211209091342.27017-1-ndabilpuram@marvell.com", "date": "2021-12-09T09:13:35", "name": "[1/8] common/cnxk: fix shift offset for tl3 length disable", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "8eca71f71e3b7a575511a8c8ec088e2dcbe65752", "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/20211209091342.27017-1-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 20897, "url": "http://patchwork.dpdk.org/api/series/20897/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20897", "date": "2021-12-09T09:13:35", "name": "[1/8] common/cnxk: fix shift offset for tl3 length disable", "version": 1, "mbox": "http://patchwork.dpdk.org/series/20897/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/105040/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/105040/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 0482FA00C2;\n\tThu, 9 Dec 2021 10:13:52 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8358940F35;\n\tThu, 9 Dec 2021 10:13: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 A575640151\n for <dev@dpdk.org>; Thu, 9 Dec 2021 10:13: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 1B97bEve009585\n for <dev@dpdk.org>; Thu, 9 Dec 2021 01:13:49 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cudjt0anh-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 09 Dec 2021 01:13:49 -0800", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Thu, 9 Dec 2021 01:13:47 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 9 Dec 2021 01:13:47 -0800", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id C1AD23F7054;\n Thu, 9 Dec 2021 01:13: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=OJy7WBK8EhR5A1aXG9405So00LTqhEe79PNfkNpLzHk=;\n b=jxzBBoaVFJ7yHREVhKLc9uMjeacdGPjpjqWXPnSdqxSK309967Vp5wpXdUS2j/GMw9Qh\n AHLqxtObnyF+/KjeoMwE1d/k8gNPlVeWog4ROc0FTYtqqmZhInZyIqvRT3dmb+50gppp\n 6KyZZnaLie7dUoxzd+5BoCXnNSPeui932ec7VLwCtAyVoOCT1dZ9BlVR/BFeuKO7Qi1f\n mI7NZ8MOCHpTJ12bugmFOVnM51fvMVnNgIHEY3vI8w+CwLaF60AWGbsHKHynJCOMNhdh\n pQOKX+izTVlxRqdIM8OVK7X/ZLIZ3SY4D0Z5AUXTEglJqnPm+ziTQjQoswtXVcvJKxOY dA==", "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>", "Subject": "[PATCH 1/8] common/cnxk: fix shift offset for tl3 length disable", "Date": "Thu, 9 Dec 2021 14:43:35 +0530", "Message-ID": "<20211209091342.27017-1-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "9jOVYu41KN7D-I-u_gSNcklS1wCFjsQ3", "X-Proofpoint-GUID": "9jOVYu41KN7D-I-u_gSNcklS1wCFjsQ3", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513\n definitions=2021-12-09_04,2021-12-08_01,2021-12-02_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": "Fix shift offset for length disable flag in NIXX_AF_TL3X_SHAPE\nregister to be 24 instead of zero similar to other level SHAPE\nregisters. Also mask unused bits in adjust value.\n\nFixes: 0885429c3028 (\"common/cnxk: add NIX TM hierarchy enable/disable\")\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\nSigned-off-by: Satha Rao <skoteshwar@marvell.com>\n---\n drivers/common/cnxk/roc_nix_tm_utils.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/common/cnxk/roc_nix_tm_utils.c b/drivers/common/cnxk/roc_nix_tm_utils.c\nindex 543adf9..9e80c2a 100644\n--- a/drivers/common/cnxk/roc_nix_tm_utils.c\n+++ b/drivers/common/cnxk/roc_nix_tm_utils.c\n@@ -642,6 +642,7 @@ nix_tm_shaper_reg_prep(struct nix_tm_node *node,\n \telse if (profile)\n \t\tadjust = profile->pkt_len_adj;\n \n+\tadjust &= 0x1FF;\n \tplt_tm_dbg(\"Shaper config node %s(%u) lvl %u id %u, \"\n \t\t \"pir %\" PRIu64 \"(%\" PRIu64 \"B),\"\n \t\t \" cir %\" PRIu64 \"(%\" PRIu64 \"B)\"\n@@ -708,7 +709,7 @@ nix_tm_shaper_reg_prep(struct nix_tm_node *node,\n \t\t/* Configure RED algo */\n \t\treg[k] = NIX_AF_TL3X_SHAPE(schq);\n \t\tregval[k] = (adjust | (uint64_t)node->red_algo << 9 |\n-\t\t\t (uint64_t)node->pkt_mode);\n+\t\t\t (uint64_t)node->pkt_mode << 24);\n \t\tk++;\n \n \t\tbreak;\n", "prefixes": [ "1/8" ] }{ "id": 105040, "url": "