Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118148/?format=api
https://patches.dpdk.org/api/patches/118148/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221013114156.996517-10-ndabilpuram@marvell.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": "<20221013114156.996517-10-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221013114156.996517-10-ndabilpuram@marvell.com", "date": "2022-10-13T11:41:53", "name": "[v2,10/13] common/cnxk: sync mailbox for channel and bpid map", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "5172bb193f7b9d3415a1ed614664f09af5be2b87", "submitter": { "id": 1202, "url": "https://patches.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@marvell.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221013114156.996517-10-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 25210, "url": "https://patches.dpdk.org/api/series/25210/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25210", "date": "2022-10-13T11:41:44", "name": "[v2,01/13] common/cnxk: set MTU size on SDP based on SoC type", "version": 2, "mbox": "https://patches.dpdk.org/series/25210/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/118148/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/118148/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 D798AA00C3;\n\tThu, 13 Oct 2022 13:43:03 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 894D442F3A;\n\tThu, 13 Oct 2022 13:42:33 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 56E5742F37\n for <dev@dpdk.org>; Thu, 13 Oct 2022 13:42:31 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 29D9I7xk010292\n for <dev@dpdk.org>; Thu, 13 Oct 2022 04:42:30 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k6fwv8eff-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 13 Oct 2022 04:42:30 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Thu, 13 Oct 2022 04:42:28 -0700", "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; Thu, 13 Oct 2022 04:42:28 -0700", "from localhost.localdomain (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 86AA83F703F;\n Thu, 13 Oct 2022 04:42:26 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=f5vrnSadAnc9Cg8X73VyVLGsK7alxFdJRwy8WBVetcY=;\n b=h4LOn6ZvAhPu3/bMUrqINyTVlcMaQMhghN9DAXqqzsv/3AYMSCHsSERaa5yPOQoTOM2l\n XBvskQEhgEGUVBra1Eg5zUEIl+RShdnbcZUbzzwc5nzzi9N7cwkyWgOeRUZ7RZzXCVZZ\n Sjq4awmU4sZET7fMlKz+Og6r/ZZwxnbbqsKtD4PzRwMlHoaMENP6bY7v05bpGCEp7dul\n roGJYhDlqzR2GUAWmRSxjV1rHlp7CZMn00sGRUY9dJY8ZDXPv2kgLfvUUzY9xhkd8pPQ\n 1AWmL4dS9K0C+iHcTFYRbW05uO0Q3LvyWWZ3XefTMnurw1NHSzg7VbxMWWIO9oUcRrM5 FQ==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>", "CC": "<jerinj@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH v2 10/13] common/cnxk: sync mailbox for channel and bpid map", "Date": "Thu, 13 Oct 2022 17:11:53 +0530", "Message-ID": "<20221013114156.996517-10-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221013114156.996517-1-ndabilpuram@marvell.com>", "References": "<20221011120135.45846-1-ndabilpuram@marvell.com>\n <20221013114156.996517-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "MbnDtoPfAZLi_LcWWy9yWx0vN290SFjk", "X-Proofpoint-ORIG-GUID": "MbnDtoPfAZLi_LcWWy9yWx0vN290SFjk", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1\n definitions=2022-10-13_08,2022-10-13_01,2022-06-22_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": "From: Sunil Kumar Kori <skori@marvell.com>\n\nAs per recent change in Linux-5.4.x, mailbox is updated to configure\nmapping between channel and BPID. Due to mbox mismatch, PFC was broken.\nPatch syncs mailbox definition for the same. Also fixes the PFC\nconfiguration issues.\n\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\n---\n drivers/common/cnxk/roc_mbox.h | 6 +++---\n drivers/common/cnxk/roc_nix.h | 2 +-\n 2 files changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_mbox.h b/drivers/common/cnxk/roc_mbox.h\nindex e8d4ae283d..d47808e5ef 100644\n--- a/drivers/common/cnxk/roc_mbox.h\n+++ b/drivers/common/cnxk/roc_mbox.h\n@@ -1164,10 +1164,10 @@ struct nix_bp_cfg_req {\n \t/* bpid_per_chan = 1 assigns separate bp id for each channel */\n };\n \n-/* PF can be mapped to either CGX or LBK interface,\n- * so maximum 64 channels are possible.\n+/* PF can be mapped to either CGX or LBK or SDP interface,\n+ * so maximum 256 channels are possible.\n */\n-#define NIX_MAX_CHAN\t 64\n+#define NIX_MAX_CHAN\t 256\n #define NIX_CGX_MAX_CHAN 16\n #define NIX_LBK_MAX_CHAN 1\n struct nix_bp_cfg_rsp {\ndiff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common/cnxk/roc_nix.h\nindex 6636ee52c1..6654a2df78 100644\n--- a/drivers/common/cnxk/roc_nix.h\n+++ b/drivers/common/cnxk/roc_nix.h\n@@ -436,7 +436,7 @@ struct roc_nix {\n \tbool rx_ptp_ena;\n \tuint16_t cints;\n \n-#define ROC_NIX_MEM_SZ (6 * 1024)\n+#define ROC_NIX_MEM_SZ (6 * 1056)\n \tuint8_t reserved[ROC_NIX_MEM_SZ] __plt_cache_aligned;\n } __plt_cache_aligned;\n \n", "prefixes": [ "v2", "10/13" ] }{ "id": 118148, "url": "