get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106938,
    "url": "http://patches.dpdk.org/api/patches/106938/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220207072932.22409-9-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": "<20220207072932.22409-9-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220207072932.22409-9-ndabilpuram@marvell.com",
    "date": "2022-02-07T07:29:21",
    "name": "[09/20] common/cnxk: allow force use of SSO pffunc for outb inline",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "84e35b896e0d7b3df390720dc65f64e46c36cc4f",
    "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/20220207072932.22409-9-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 21483,
            "url": "http://patches.dpdk.org/api/series/21483/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21483",
            "date": "2022-02-07T07:29:13",
            "name": "[01/20] common/cnxk: increase resource count for bitmap alloc",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/21483/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/106938/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/106938/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 36568A034F;\n\tMon,  7 Feb 2022 08:30:51 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C70D841101;\n\tMon,  7 Feb 2022 08:30:19 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id B4020410F7\n for <dev@dpdk.org>; Mon,  7 Feb 2022 08:30:15 +0100 (CET)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 216MmlZt020123\n for <dev@dpdk.org>; Sun, 6 Feb 2022 23:30:15 -0800",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3e1smr4p2e-10\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Sun, 06 Feb 2022 23:30:15 -0800",
            "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 Sun, 6 Feb 2022 23:30:12 -0800",
            "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, 6 Feb 2022 23:30:12 -0800",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 4473C3F7063;\n Sun,  6 Feb 2022 23:30:10 -0800 (PST)"
        ],
        "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=21Unmi9t+GK5YH7b1zcwx+zsyP6rgi9WMDjfe4d3qF0=;\n b=TR29SzlrnRQ/02VAlfnSQp2KQ8saDHgpd9eJRsAVRdOSjGVu/JZaL6lU8TqpPMFnRlsF\n oA9gPz+gBApjgA5O69B1zKJbUC7b41A7+SsZ+ujnUy4EdnxLkbp6PTYF0mscudCgMn2e\n EgstEe+55wK9E52qQ1KqxlGWcqfon9WBZp/grY0cwcfW77oMi9mEcRxuU1wkefP+rxaw\n z8AbGFOn/o9yWcUMO3zTln71g3tysNN3xhSbabnX50rWj88Y/U5sVmETb8FKkq3k+Mqa\n EGO2Sh//R1d7xefeGOoT/EUDqkFslIVQLhoESbUYiScPv7dTxHtfDKQY6mkSMulROBLO nw==",
        "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>",
        "Subject": "[PATCH 09/20] common/cnxk: allow force use of SSO pffunc for outb\n inline",
        "Date": "Mon, 7 Feb 2022 12:59:21 +0530",
        "Message-ID": "<20220207072932.22409-9-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220207072932.22409-1-ndabilpuram@marvell.com>",
        "References": "<20220207072932.22409-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "Hfpt0eCPqutfR16nhXokz0u9TDbW7dWl",
        "X-Proofpoint-ORIG-GUID": "Hfpt0eCPqutfR16nhXokz0u9TDbW7dWl",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513\n definitions=2022-02-07_02,2022-02-03_01,2021-12-02_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": "Allow force use of SSO pffunc even when inline dev is available\nso that in case driver needs events directly delivered to\nevent device.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/common/cnxk/roc_nix.h     | 1 +\n drivers/common/cnxk/roc_nix_inl.c | 7 ++++++-\n 2 files changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common/cnxk/roc_nix.h\nindex 0122b98..57a595f 100644\n--- a/drivers/common/cnxk/roc_nix.h\n+++ b/drivers/common/cnxk/roc_nix.h\n@@ -386,6 +386,7 @@ struct roc_nix {\n \tuint16_t outb_nb_crypto_qs;\n \tuint16_t ipsec_in_max_spi;\n \tuint16_t ipsec_out_max_sa;\n+\tbool ipsec_out_sso_pffunc;\n \t/* End of input parameters */\n \t/* LMT line base for \"Per Core Tx LMT line\" mode*/\n \tuintptr_t lmt_base;\ndiff --git a/drivers/common/cnxk/roc_nix_inl.c b/drivers/common/cnxk/roc_nix_inl.c\nindex ac17e95..003f972 100644\n--- a/drivers/common/cnxk/roc_nix_inl.c\n+++ b/drivers/common/cnxk/roc_nix_inl.c\n@@ -311,6 +311,10 @@ roc_nix_inl_outb_init(struct roc_nix *roc_nix)\n \t/* Retrieve inline device if present */\n \tinl_dev = idev->nix_inl_dev;\n \tsso_pffunc = inl_dev ? inl_dev->dev.pf_func : idev_sso_pffunc_get();\n+\t/* Use sso_pffunc if explicitly requested */\n+\tif (roc_nix->ipsec_out_sso_pffunc)\n+\t\tsso_pffunc = idev_sso_pffunc_get();\n+\n \tif (!sso_pffunc) {\n \t\tplt_err(\"Failed to setup inline outb, need either \"\n \t\t\t\"inline device or sso device\");\n@@ -328,7 +332,8 @@ roc_nix_inl_outb_init(struct roc_nix *roc_nix)\n \teng_grpmask = (1ULL << ROC_CPT_DFLT_ENG_GRP_SE |\n \t\t       1ULL << ROC_CPT_DFLT_ENG_GRP_SE_IE |\n \t\t       1ULL << ROC_CPT_DFLT_ENG_GRP_AE);\n-\trc = cpt_lfs_alloc(dev, eng_grpmask, blkaddr, true);\n+\trc = cpt_lfs_alloc(dev, eng_grpmask, blkaddr,\n+\t\t\t   !roc_nix->ipsec_out_sso_pffunc);\n \tif (rc) {\n \t\tplt_err(\"Failed to alloc CPT LF resources, rc=%d\", rc);\n \t\tgoto lf_detach;\n",
    "prefixes": [
        "09/20"
    ]
}