get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/117918/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 117918,
    "url": "http://patches.dpdk.org/api/patches/117918/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221011120135.45846-11-ndabilpuram@marvell.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": "<20221011120135.45846-11-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221011120135.45846-11-ndabilpuram@marvell.com",
    "date": "2022-10-11T12:01:33",
    "name": "[11/13] common/cnxk: sync mailbox for channel and bpid map",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "5172bb193f7b9d3415a1ed614664f09af5be2b87",
    "submitter": {
        "id": 1202,
        "url": "http://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221011120135.45846-11-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 25145,
            "url": "http://patches.dpdk.org/api/series/25145/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25145",
            "date": "2022-10-11T12:01:23",
            "name": "[01/13] common/cnxk: set MTU size on SDP based on SoC type",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/25145/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/117918/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/117918/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 DE53EA0545;\n\tTue, 11 Oct 2022 14:02:49 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DF63342DE9;\n\tTue, 11 Oct 2022 14:02:12 +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 4A84042DCF\n for <dev@dpdk.org>; Tue, 11 Oct 2022 14:02:10 +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 29BA3Alu015818\n for <dev@dpdk.org>; Tue, 11 Oct 2022 05:02:09 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k40g4y2bx-2\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 11 Oct 2022 05:02:09 -0700",
            "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 Tue, 11 Oct 2022 05:02:07 -0700",
            "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; Tue, 11 Oct 2022 05:02:07 -0700",
            "from localhost.localdomain (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 7AD953F7088;\n Tue, 11 Oct 2022 05:02:05 -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=kRgPsuCzmr2bBpO5yiW3xT6IJLWBke0V5BdVsHYL+UE=;\n b=OHgiatK+Y8h1PqsauybL8r7JioqNan5IXfx7UWfqZfEpdWXTRaza879Ow/EOxvj8PR4o\n kNgiIx4ofliPp+bbrToVr85lqA3BCHPBlI5bDLDrSWe5FaNQl81PpmBRLZvuoBKevLKt\n 0gW1VB1fNmkTDrHRuIjvdsmQopWytZgQSd2Yi0t+7q/sGU1evyQxzwxpxP3/WymMYmDk\n 8xJdwV5EQTYG8HIQrTbONh/yWnHgT6t+wEOBm/zxnQNshfOFMe3QMiqYoZOUB8hdjY7c\n 5Moz384IprpQO8e48EMAYM/H/Pps/HoxkTFftwSI4abrsKW89W+KZixv09X2GPBeS558 xw==",
        "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 11/13] common/cnxk: sync mailbox for channel and bpid map",
        "Date": "Tue, 11 Oct 2022 17:31:33 +0530",
        "Message-ID": "<20221011120135.45846-11-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221011120135.45846-1-ndabilpuram@marvell.com>",
        "References": "<20221011120135.45846-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "0a_zD_65RXl3sOM_4sHbtVkohhrWShG9",
        "X-Proofpoint-GUID": "0a_zD_65RXl3sOM_4sHbtVkohhrWShG9",
        "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-11_07,2022-10-11_02,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 1eb1c9af55..c50efefa80 100644\n--- a/drivers/common/cnxk/roc_nix.h\n+++ b/drivers/common/cnxk/roc_nix.h\n@@ -432,7 +432,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": [
        "11/13"
    ]
}