get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106945,
    "url": "http://patchwork.dpdk.org/api/patches/106945/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220207072932.22409-14-ndabilpuram@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": "<20220207072932.22409-14-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220207072932.22409-14-ndabilpuram@marvell.com",
    "date": "2022-02-07T07:29:26",
    "name": "[14/20] net/cnxk: realloc inline dev XAQ for security",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "36277245207b21adbeeca3082fc85ea7ea91084e",
    "submitter": {
        "id": 1202,
        "url": "http://patchwork.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@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/20220207072932.22409-14-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 21483,
            "url": "http://patchwork.dpdk.org/api/series/21483/?format=api",
            "web_url": "http://patchwork.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://patchwork.dpdk.org/series/21483/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/106945/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/106945/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 E50A2A034F;\n\tMon,  7 Feb 2022 08:31:41 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 29C09411C9;\n\tMon,  7 Feb 2022 08:30:30 +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 8D524411B8\n for <dev@dpdk.org>; Mon,  7 Feb 2022 08:30:28 +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 216LsOhO030467\n for <dev@dpdk.org>; Sun, 6 Feb 2022 23:30:28 -0800",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3e1smr4p5e-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Sun, 06 Feb 2022 23:30:27 -0800",
            "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 Sun, 6 Feb 2022 23:30:25 -0800",
            "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; Sun, 6 Feb 2022 23:30:25 -0800",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id E2E243F7063;\n Sun,  6 Feb 2022 23:30:23 -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=w6CCjH3LCbOpkj3vri6byzmFRYcsWGPypfYjiRGT5Uo=;\n b=R5E9iTyzLaJSnXqhEsIH+YIDK+oXQkKZjx4RcsbMc4atmvSABsAqL6fSUHZ4lPU8Cla3\n wzHDGFcUa71HH8r9J081mIj6kZ2uogBimA3F7vgJRmPTBzVivwAUZY8N0+wBncPpxugr\n 5+VZbGaW98EtwsJbj89xFL6CQM9gJhgQP24vgb2riS811IACkaLZ6lCWRlDNKRQyK/s4\n CWMJL8bl+V3txuiJagqFI5CiLPjVKNN97IQdOrdkoTn2Cl7FeLPOTSsSVQhmW1baeWyn\n 46Q7XqxPIPEPnJEFo5d5Vm7c5VHu7w1hkRqccBBBEArG14TwmqCpO8jDGzVUvuHdLAkI /g==",
        "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 14/20] net/cnxk: realloc inline dev XAQ for security",
        "Date": "Mon, 7 Feb 2022 12:59:26 +0530",
        "Message-ID": "<20220207072932.22409-14-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": "A8B54EQt7GgQHySp1UIY2WW5GprIkhXG",
        "X-Proofpoint-ORIG-GUID": "A8B54EQt7GgQHySp1UIY2WW5GprIkhXG",
        "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": "Realloc inline dev XAQ when Rx/Tx security ie enabled with\nnew packet pool as XAQ should be large enough to hold all\nmbufs if inline outbound reports error or all mbufs.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/net/cnxk/cnxk_ethdev.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 9ede66e..9a1f97b 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -545,6 +545,11 @@ cnxk_nix_rx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t qid,\n \t\tnb_desc = RTE_MAX(nb_desc, pkt_pool_limit);\n \t}\n \n+\t/* Its a no-op when inline device is not used */\n+\tif (dev->rx_offloads & RTE_ETH_RX_OFFLOAD_SECURITY ||\n+\t    dev->tx_offloads & RTE_ETH_TX_OFFLOAD_SECURITY)\n+\t\troc_nix_inl_dev_xaq_realloc(mp->pool_id);\n+\n \t/* Setup ROC CQ */\n \tcq = &dev->cqs[qid];\n \tcq->qid = qid;\n",
    "prefixes": [
        "14/20"
    ]
}