get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96935,
    "url": "http://patchwork.dpdk.org/api/patches/96935/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210815231202.1192974-3-tduszynski@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": "<20210815231202.1192974-3-tduszynski@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210815231202.1192974-3-tduszynski@marvell.com",
    "date": "2021-08-15T23:12:01",
    "name": "[2/3] common/cnxk: support reading NPA/SSO PF function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9540bfe89f36fbb66a21631e7d4387e8a8aad6ac",
    "submitter": {
        "id": 2215,
        "url": "http://patchwork.dpdk.org/api/people/2215/?format=api",
        "name": "Tomasz Duszynski",
        "email": "tduszynski@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/20210815231202.1192974-3-tduszynski@marvell.com/mbox/",
    "series": [
        {
            "id": 18290,
            "url": "http://patchwork.dpdk.org/api/series/18290/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18290",
            "date": "2021-08-15T23:11:59",
            "name": "support reading NPA/SSO PF function",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/18290/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/96935/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/96935/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 9D16BA0C43;\n\tMon, 16 Aug 2021 01:13:18 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EC7E641155;\n\tMon, 16 Aug 2021 01:13:05 +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 0E0D841144\n for <dev@dpdk.org>; Mon, 16 Aug 2021 01:13:03 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id\n 17FMvTsa028809;\n Sun, 15 Aug 2021 16:13:00 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 3af0pth4en-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Sun, 15 Aug 2021 16:13:00 -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 Sun, 15 Aug 2021 16:12:59 -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; Sun, 15 Aug 2021 16:12:59 -0700",
            "from localhost.localdomain (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id 105BC3F704F;\n Sun, 15 Aug 2021 16:12:56 -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=2+07HhoANobdwYw28T7j5bzn3aB5aFNuJI4Nv69703k=;\n b=BBaFJJUIucZx1iKEqroBa/jZKb+n/V15n7xiLd0xo4Ebt6YOO/Fo8gUp3RuGaU1zDLAy\n H2TT1klP3iFCpU/gOq9f9RTHnjhUVizuEOzLBAoR343hRfH9ttkw0epoWeb93vdFxkf4\n aSe+F3lmjbj8ipe4sF5aJvUP5862cBRF0BBdjKD9p5aKHoTH0XXua9RAFPvXkfVOIbEo\n KM4AoaxFIm1XvzL+GRUp3Wwfv3vBpoqT/8coPfZxBD3CPriahLtGK/dNjbZGKU6i2Jpd\n 0mMeZSHk988PKF5HyHOg+h2fSdBwZ2SjcIfKdnvlf4BREgOj0kMAndyzxWc8zogeCm+h 2Q==",
        "From": "Tomasz Duszynski <tduszynski@marvell.com>",
        "To": "<dev@dpdk.org>, Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>, Ray Kinsella <mdr@ashroe.eu>",
        "CC": "Tomasz Duszynski <tduszynski@marvell.com>, Jerin Jacob Kollanukkaran\n <jerinj@marvell.com>",
        "Date": "Mon, 16 Aug 2021 01:12:01 +0200",
        "Message-ID": "<20210815231202.1192974-3-tduszynski@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210815231202.1192974-1-tduszynski@marvell.com>",
        "References": "<20210815231202.1192974-1-tduszynski@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "5KeXKZQ_dSE2O6y3hS2kRHnJDghcf7iN",
        "X-Proofpoint-ORIG-GUID": "5KeXKZQ_dSE2O6y3hS2kRHnJDghcf7iN",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-08-15_09,2021-08-13_02,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH 2/3] common/cnxk: support reading NPA/SSO PF\n function",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add support for reading NPA/SSO pf_func which will be used\nby a PSM to access NPA/SSO. PSM is a hardware block capable\nof dispatching jobs to different blocks within a baseband\nmodule.\n\nSigned-off-by: Tomasz Duszynski <tduszynski@marvell.com>\nReviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>\n---\n drivers/common/cnxk/roc_bphy.c  | 12 ++++++++++++\n drivers/common/cnxk/roc_bphy.h  |  2 ++\n drivers/common/cnxk/version.map |  2 ++\n 3 files changed, 16 insertions(+)",
    "diff": "diff --git a/drivers/common/cnxk/roc_bphy.c b/drivers/common/cnxk/roc_bphy.c\nindex 77606d6465..12234c5dcc 100644\n--- a/drivers/common/cnxk/roc_bphy.c\n+++ b/drivers/common/cnxk/roc_bphy.c\n@@ -38,3 +38,15 @@ roc_bphy_dev_fini(struct roc_bphy *roc_bphy)\n \n \treturn 0;\n }\n+\n+uint16_t\n+roc_bphy_npa_pf_func_get(void)\n+{\n+\treturn idev_npa_pffunc_get();\n+}\n+\n+uint16_t\n+roc_bphy_sso_pf_func_get(void)\n+{\n+\treturn idev_sso_pffunc_get();\n+}\ndiff --git a/drivers/common/cnxk/roc_bphy.h b/drivers/common/cnxk/roc_bphy.h\nindex 0579c6c443..0032829c8d 100644\n--- a/drivers/common/cnxk/roc_bphy.h\n+++ b/drivers/common/cnxk/roc_bphy.h\n@@ -13,5 +13,7 @@ struct roc_bphy {\n \n int __roc_api roc_bphy_dev_init(struct roc_bphy *roc_bphy);\n int __roc_api roc_bphy_dev_fini(struct roc_bphy *roc_bphy);\n+__roc_api uint16_t roc_bphy_npa_pf_func_get(void);\n+__roc_api uint16_t roc_bphy_sso_pf_func_get(void);\n \n #endif /* _ROC_BPHY_ */\ndiff --git a/drivers/common/cnxk/version.map b/drivers/common/cnxk/version.map\nindex 2cbcc4b93a..bcbeaf5e7e 100644\n--- a/drivers/common/cnxk/version.map\n+++ b/drivers/common/cnxk/version.map\n@@ -46,6 +46,8 @@ INTERNAL {\n \troc_bphy_irq_handler_set;\n \troc_bphy_irq_stack_get;\n \troc_bphy_irq_stack_remove;\n+\troc_bphy_npa_pf_func_get;\n+\troc_bphy_sso_pf_func_get;\n \troc_clk_freq_get;\n \troc_cpt_afs_print;\n \troc_cpt_dev_clear;\n",
    "prefixes": [
        "2/3"
    ]
}