get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114780,
    "url": "http://patches.dpdk.org/api/patches/114780/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220809184908.24030-20-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": "<20220809184908.24030-20-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220809184908.24030-20-ndabilpuram@marvell.com",
    "date": "2022-08-09T18:49:04",
    "name": "[20/23] net/cnxk: skip PFC configuration on LBK",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "2352c5f3140febcb87a5ca597395e5d4ce520097",
    "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/20220809184908.24030-20-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 24239,
            "url": "http://patches.dpdk.org/api/series/24239/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24239",
            "date": "2022-08-09T18:48:45",
            "name": "[01/23] common/cnxk: fix part value for cn10k",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/24239/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114780/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/114780/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 E05D1A04FD;\n\tTue,  9 Aug 2022 20:51:24 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EC43142C17;\n\tTue,  9 Aug 2022 20:50:45 +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 CD1AF42C02\n for <dev@dpdk.org>; Tue,  9 Aug 2022 20:50:44 +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 279D8BCu017014\n for <dev@dpdk.org>; Tue, 9 Aug 2022 11:50:44 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3hudy6ujwa-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 09 Aug 2022 11:50:44 -0700",
            "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 Tue, 9 Aug 2022 11:50:42 -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; Tue, 9 Aug 2022 11:50:41 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 263633F7087;\n Tue,  9 Aug 2022 11:50:39 -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-type; s=pfpt0220; bh=/SUA2jBXL/N25g3/A1/sgFC0qjZ8OusnYIZFOSXza5s=;\n b=ZdsuJDXJx/RlfgAthUyImUi7StLVhvJ6WIHBJY+pNpXzLKxGcbDhEW+hH5FvCulIj24J\n r3tKdGm6bNJ6wRVYgxpnvJNM4XbAdrqfFme8rIok0QU2gd/VBMa6aCXB3qalfBiWRJzl\n wypleAm9xphEXX+WzB91953tMqy0icn+qN0ZoAo5rqsvGhOBXjgY3wjtVjdvI0RJgtDo\n pVzUChTygtWFFk/W+rACEKE09VOR+eyMLJVuM7+lURNljVzn2hV9+yUZ8oWmxDbG0gpf\n G7vHHIq9AOv0uK4+O/QBN+2Omnv0WG1+v9d1HSVsq0PxaIePqbOVVxiC6uWWIy3sBwLc 7A==",
        "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 20/23] net/cnxk: skip PFC configuration on LBK",
        "Date": "Wed, 10 Aug 2022 00:19:04 +0530",
        "Message-ID": "<20220809184908.24030-20-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220809184908.24030-1-ndabilpuram@marvell.com>",
        "References": "<20220809184908.24030-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "M2J8e8-Y7Upp35_NIXVE1kiHtMugvUOG",
        "X-Proofpoint-ORIG-GUID": "M2J8e8-Y7Upp35_NIXVE1kiHtMugvUOG",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1\n definitions=2022-08-09_05,2022-08-09_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: Satha Rao <skoteshwar@marvell.com>\n\nCNXK platforms do not support PFC on LBK so skipping\nconfiguration on LBK interfaces.\n\nSigned-off-by: Satha Rao <skoteshwar@marvell.com>\n---\n drivers/net/cnxk/cnxk_ethdev.c     | 2 +-\n drivers/net/cnxk/cnxk_ethdev_ops.c | 4 ++--\n 2 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 02416ad..f08a20f 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -1859,7 +1859,7 @@ cnxk_eth_dev_uninit(struct rte_eth_dev *eth_dev, bool reset)\n \t\tpfc_conf.tx_pause.rx_qid = i;\n \t\trc = cnxk_nix_priority_flow_ctrl_queue_config(eth_dev,\n \t\t\t\t\t\t\t      &pfc_conf);\n-\t\tif (rc)\n+\t\tif (rc && rc != -ENOTSUP)\n \t\t\tplt_err(\"Failed to reset PFC. error code(%d)\", rc);\n \t}\n \ndiff --git a/drivers/net/cnxk/cnxk_ethdev_ops.c b/drivers/net/cnxk/cnxk_ethdev_ops.c\nindex 1592971..64beabd 100644\n--- a/drivers/net/cnxk/cnxk_ethdev_ops.c\n+++ b/drivers/net/cnxk/cnxk_ethdev_ops.c\n@@ -356,8 +356,8 @@ cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,\n \t\treturn -ENOTSUP;\n \t}\n \n-\tif (roc_nix_is_sdp(nix)) {\n-\t\tplt_err(\"Prio flow ctrl config is not allowed on SDP\");\n+\tif (roc_nix_is_sdp(nix) || roc_nix_is_lbk(nix)) {\n+\t\tplt_nix_dbg(\"Prio flow ctrl config is not allowed on SDP/LBK\");\n \t\treturn -ENOTSUP;\n \t}\n \n",
    "prefixes": [
        "20/23"
    ]
}