get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114769,
    "url": "http://patchwork.dpdk.org/api/patches/114769/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220809184908.24030-5-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": "<20220809184908.24030-5-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220809184908.24030-5-ndabilpuram@marvell.com",
    "date": "2022-08-09T18:48:49",
    "name": "[05/23] common/cnxk: limit meta aura workaround to CN10K A0",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "4fc1009a7ef92a1732bf7fb62c5ce89c562fda08",
    "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/20220809184908.24030-5-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 24239,
            "url": "http://patchwork.dpdk.org/api/series/24239/?format=api",
            "web_url": "http://patchwork.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://patchwork.dpdk.org/series/24239/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/114769/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/114769/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 4819CA04FD;\n\tTue,  9 Aug 2022 20:50:09 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0E3C742BE2;\n\tTue,  9 Aug 2022 20:50: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 DE65142BCD\n for <dev@dpdk.org>; Tue,  9 Aug 2022 20:49:58 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 279D67Gl016173\n for <dev@dpdk.org>; Tue, 9 Aug 2022 11:49:58 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3huds2ukqn-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 09 Aug 2022 11:49:58 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Tue, 9 Aug 2022 11:49:56 -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; Tue, 9 Aug 2022 11:49:56 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id A04433F7085;\n Tue,  9 Aug 2022 11:49:54 -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=bNVHLAPU6Gu4P0tYUCzN7VHPFqganzHREw7Z7cBSdDA=;\n b=RTtswHLjIiU1gr5U3Hgu/CbHjPtfwBDim59UJQm4VxntXOHjYzVjjtsrOn5nYPzTzeze\n Myhln5FwRdflHQAKy1tj92MzwqVlVBSzKjPglgub0ZMm4aZRY71QXR/Ukh2IXCyK/GSC\n Mjbr7VZtv3jQ+LK/I+sWEtPDHxML3Pefi5T9IoKSx7aReW5MAYjvMMPIZJGMXBa2Rfoa\n 88lplNhXN/9UG2ZAGSsjS96d81DMGY5gplWk5vYyfFbXbMx443y1+vvm7VT8GtDmSmKz\n +8s8YGRWxSf9AzuSbOqM/ORn8v03YS+HGH6tHBNypwNM3B4dJhxu29UaC3qq9z7SJm9j HA==",
        "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 05/23] common/cnxk: limit meta aura workaround to CN10K A0",
        "Date": "Wed, 10 Aug 2022 00:18:49 +0530",
        "Message-ID": "<20220809184908.24030-5-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-ORIG-GUID": "HY4KHJ-8jIzCbpNc1pjLp-2p2Z51QywO",
        "X-Proofpoint-GUID": "HY4KHJ-8jIzCbpNc1pjLp-2p2Z51QywO",
        "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": "Limit meta aura workaround to CN10K A0.\nAlso other NIX and Inline related Erratas applicable\nfor CN10K A1.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/common/cnxk/roc_errata.h  |  7 +++++++\n drivers/common/cnxk/roc_nix_inl.c | 10 ++++++----\n drivers/net/cnxk/cnxk_ethdev.c    |  3 ++-\n 3 files changed, 15 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_errata.h b/drivers/common/cnxk/roc_errata.h\nindex f048297..8dc372f 100644\n--- a/drivers/common/cnxk/roc_errata.h\n+++ b/drivers/common/cnxk/roc_errata.h\n@@ -81,6 +81,13 @@ roc_errata_nix_has_perf_issue_on_stats_update(void)\n static inline bool\n roc_errata_cpt_hang_on_x2p_bp(void)\n {\n+\treturn roc_model_is_cn10ka_a0() || roc_model_is_cn10ka_a1();\n+}\n+\n+/* IPBUNIXRX-40400 */\n+static inline bool\n+roc_errata_nix_no_meta_aura(void)\n+{\n \treturn roc_model_is_cn10ka_a0();\n }\n \ndiff --git a/drivers/common/cnxk/roc_nix_inl.c b/drivers/common/cnxk/roc_nix_inl.c\nindex 7da8938..603551b 100644\n--- a/drivers/common/cnxk/roc_nix_inl.c\n+++ b/drivers/common/cnxk/roc_nix_inl.c\n@@ -627,18 +627,18 @@ roc_nix_inl_dev_rq_get(struct roc_nix_rq *rq)\n \tinl_rq->first_skip = rq->first_skip;\n \tinl_rq->later_skip = rq->later_skip;\n \tinl_rq->lpb_size = rq->lpb_size;\n-\tinl_rq->lpb_drop_ena = true;\n \tinl_rq->spb_ena = rq->spb_ena;\n \tinl_rq->spb_aura_handle = rq->spb_aura_handle;\n \tinl_rq->spb_size = rq->spb_size;\n-\tinl_rq->spb_drop_ena = !!rq->spb_ena;\n \n-\tif (!roc_model_is_cn9k()) {\n+\tif (roc_errata_nix_no_meta_aura()) {\n \t\tuint64_t aura_limit =\n \t\t\troc_npa_aura_op_limit_get(inl_rq->aura_handle);\n \t\tuint64_t aura_shift = plt_log2_u32(aura_limit);\n \t\tuint64_t aura_drop, drop_pc;\n \n+\t\tinl_rq->lpb_drop_ena = true;\n+\n \t\tif (aura_shift < 8)\n \t\t\taura_shift = 0;\n \t\telse\n@@ -653,12 +653,14 @@ roc_nix_inl_dev_rq_get(struct roc_nix_rq *rq)\n \t\troc_npa_aura_drop_set(inl_rq->aura_handle, aura_drop, true);\n \t}\n \n-\tif (inl_rq->spb_ena) {\n+\tif (roc_errata_nix_no_meta_aura() && inl_rq->spb_ena) {\n \t\tuint64_t aura_limit =\n \t\t\troc_npa_aura_op_limit_get(inl_rq->spb_aura_handle);\n \t\tuint64_t aura_shift = plt_log2_u32(aura_limit);\n \t\tuint64_t aura_drop, drop_pc;\n \n+\t\tinl_rq->spb_drop_ena = true;\n+\n \t\tif (aura_shift < 8)\n \t\t\taura_shift = 0;\n \t\telse\ndiff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 2418290..df20f27 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -617,7 +617,8 @@ cnxk_nix_rx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t qid,\n \trq->first_skip = first_skip;\n \trq->later_skip = sizeof(struct rte_mbuf);\n \trq->lpb_size = mp->elt_size;\n-\trq->lpb_drop_ena = !(dev->rx_offloads & RTE_ETH_RX_OFFLOAD_SECURITY);\n+\tif (roc_errata_nix_no_meta_aura())\n+\t\trq->lpb_drop_ena = !(dev->rx_offloads & RTE_ETH_RX_OFFLOAD_SECURITY);\n \n \t/* Enable Inline IPSec on RQ, will not be used for Poll mode */\n \tif (roc_nix_inl_inb_is_enabled(nix))\n",
    "prefixes": [
        "05/23"
    ]
}