get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110158,
    "url": "http://patches.dpdk.org/api/patches/110158/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220422104709.20722-15-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": "<20220422104709.20722-15-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220422104709.20722-15-ndabilpuram@marvell.com",
    "date": "2022-04-22T10:46:56",
    "name": "[v2,15/28] net/cnxk: update inline device in ethdev telemetry",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "4a6cfcf2fa0eabcdfb55200991a2f014a4a65209",
    "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/20220422104709.20722-15-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 22634,
            "url": "http://patches.dpdk.org/api/series/22634/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22634",
            "date": "2022-04-22T10:46:42",
            "name": "[v2,01/28] common/cnxk: add multi channel support for SDP send queues",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/22634/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/110158/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/110158/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 1998BA0093;\n\tFri, 22 Apr 2022 12:48:45 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6DABF427EB;\n\tFri, 22 Apr 2022 12:48:00 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 6ABC74282E\n for <dev@dpdk.org>; Fri, 22 Apr 2022 12:47:58 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 23M0bigV003185\n for <dev@dpdk.org>; Fri, 22 Apr 2022 03:47:57 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3fk7mk44bq-3\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 22 Apr 2022 03:47:57 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Fri, 22 Apr 2022 03:47:55 -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; Fri, 22 Apr 2022 03:47:55 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 841973F707F;\n Fri, 22 Apr 2022 03:47:53 -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=8tWkUzSZdK0omby8M6ZWTQI2zanmHAlntn2c5q1jPZI=;\n b=Fj/Jpnz7H6oY8+0kbnIzH89Hmo3q/u1xZ059mJgVdMd5BTEmFfuBTYXyfAez7KXrg8qy\n I5qvS/Ykc975Ne/iulx9qd0JMUqb5YVo+UozkuK4mt0/SqdO1IuSmJ+zA/IlvmHjoZFy\n ffJU7hChWILCe4T0sZgNqQljkxqjriRv908J5VtVD8I29GBejtsVs3RnJSMV8DNRjC5/\n k2SC2si5jcDLXtnv8VnQ11bC1RS4XgmaSaOUL9+OMvKm4bxfISWviXjPGwJhsv5l1pR+\n DCqNSqqG/UrvCwtqywRbEIzH4bC+1QZiFyKJrRUABPpiN7/NiPY1kXhc6v26ubnkxDi3 uw==",
        "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>, Rakesh Kudurumalla <rkudurumalla@marvell.com>",
        "Subject": "[PATCH v2 15/28] net/cnxk: update inline device in ethdev telemetry",
        "Date": "Fri, 22 Apr 2022 16:16:56 +0530",
        "Message-ID": "<20220422104709.20722-15-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220422104709.20722-1-ndabilpuram@marvell.com>",
        "References": "<20220422104709.20722-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "hv_l5AJWQEv7axGVe-WAIj4kaSiyJzsd",
        "X-Proofpoint-GUID": "hv_l5AJWQEv7axGVe-WAIj4kaSiyJzsd",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-04-22_02,2022-04-22_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": "From: Rakesh Kudurumalla <rkudurumalla@marvell.com>\n\ninline pf func is updated in ethdev_tel_handle_info\nwhen inline device is attached to any dpdk process\n\nSigned-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>\n---\n drivers/net/cnxk/cnxk_ethdev_telemetry.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/cnxk/cnxk_ethdev_telemetry.c b/drivers/net/cnxk/cnxk_ethdev_telemetry.c\nindex 83bc658..b76dbdf 100644\n--- a/drivers/net/cnxk/cnxk_ethdev_telemetry.c\n+++ b/drivers/net/cnxk/cnxk_ethdev_telemetry.c\n@@ -23,6 +23,7 @@ ethdev_tel_handle_info(const char *cmd __rte_unused,\n \t\tstruct eth_info_s {\n \t\t\t/** PF/VF information */\n \t\t\tuint16_t pf_func;\n+\t\t\tuint16_t inl_dev_pf_func;\n \t\t\tuint8_t max_mac_entries;\n \t\t\tbool dmac_filter_ena;\n \t\t\tuint8_t dmac_filter_count;\n@@ -62,6 +63,8 @@ ethdev_tel_handle_info(const char *cmd __rte_unused,\n \t\t\tinfo = &eth_info.info;\n \t\t\tdev = cnxk_eth_pmd_priv(eth_dev);\n \t\t\tif (dev) {\n+\t\t\t\tinfo->inl_dev_pf_func =\n+\t\t\t\t\troc_nix_inl_dev_pffunc_get();\n \t\t\t\tinfo->pf_func = roc_nix_get_pf_func(&dev->nix);\n \t\t\t\tinfo->max_mac_entries = dev->max_mac_entries;\n \t\t\t\tinfo->dmac_filter_ena = dev->dmac_filter_enable;\n",
    "prefixes": [
        "v2",
        "15/28"
    ]
}