get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109021,
    "url": "http://patches.dpdk.org/api/patches/109021/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220330084356.3614662-2-rbhansali@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": "<20220330084356.3614662-2-rbhansali@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220330084356.3614662-2-rbhansali@marvell.com",
    "date": "2022-03-30T08:43:56",
    "name": "[2/2] net/cnxk: use ROC errata API",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "54a828cf469eab46dbabf0cf38cdfd233046f54f",
    "submitter": {
        "id": 2436,
        "url": "http://patches.dpdk.org/api/people/2436/?format=api",
        "name": "Rahul Bhansali",
        "email": "rbhansali@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/20220330084356.3614662-2-rbhansali@marvell.com/mbox/",
    "series": [
        {
            "id": 22289,
            "url": "http://patches.dpdk.org/api/series/22289/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22289",
            "date": "2022-03-30T08:43:55",
            "name": "[1/2] common/cnxk: add ROC errata list",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22289/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/109021/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/109021/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 6EAB8A0509;\n\tWed, 30 Mar 2022 10:44:20 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 16093428C7;\n\tWed, 30 Mar 2022 10:44:20 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 6DFBA428C6\n for <dev@dpdk.org>; Wed, 30 Mar 2022 10:44:18 +0200 (CEST)",
            "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 22U3WpqA016585\n for <dev@dpdk.org>; Wed, 30 Mar 2022 01:44:17 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3f475c389t-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 30 Mar 2022 01:44:17 -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 Wed, 30 Mar 2022 01:44:15 -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; Wed, 30 Mar 2022 01:44:15 -0700",
            "from localhost.localdomain (unknown [10.28.48.107])\n by maili.marvell.com (Postfix) with ESMTP id 92C7E3F7053;\n Wed, 30 Mar 2022 01:44:13 -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=pEeD1uhfmhVVWC4XgBNY1ziBETR6U2W3HppuA8tcTWs=;\n b=kafv8WPSnGp10x7Lh9x74WddbE0SyyN8/dDQbmLzwoXkFCuoHHrHUebnYNbu4TXDQifQ\n 9n4drfn3MvTWTyptY/y4HMf7UBObEwv2ZU7yro0VvE8/z8zR51xDddueMeiUKxc5CBIG\n jF8ltJjby6ujwgvPmQeOWxwcDFQdmyU90AgDaAsus6BoI8HChc6l9TdsL2Mzs7ivgBbf\n vT+HVtLynqtmQOoSetNIDLdUig1BvSvV0lLVyPm5TnBfKZQPtB1xCXRtGfZCu+QIfslq\n yyCXjvE/7KfacRC88C91dCfhFd4kM1mvqaNAXMkxSB8Gw+FgMPMbP32QvMq4SbKjq/iy Jw==",
        "From": "Rahul Bhansali <rbhansali@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>",
        "CC": "<jerinj@marvell.com>, Rahul Bhansali <rbhansali@marvell.com>",
        "Subject": "[PATCH 2/2] net/cnxk: use ROC errata API",
        "Date": "Wed, 30 Mar 2022 14:13:56 +0530",
        "Message-ID": "<20220330084356.3614662-2-rbhansali@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220330084356.3614662-1-rbhansali@marvell.com>",
        "References": "<20220330084356.3614662-1-rbhansali@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "phUbVnW5H-EOsN6RwylMpLCDLj_MvGLY",
        "X-Proofpoint-GUID": "phUbVnW5H-EOsN6RwylMpLCDLj_MvGLY",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.850,Hydra:6.0.425,FMLib:17.11.64.514\n definitions=2022-03-30_03,2022-03-29_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": "Used errata APIs roc_errata_nix_has_no_drop_re() and\nroc_errata_nix_has_cq_min_size_4k() instead of direct\nROC model check.\n\nSigned-off-by: Rahul Bhansali <rbhansali@marvell.com>\n---\n drivers/net/cnxk/cn10k_ethdev.c | 4 +---\n drivers/net/cnxk/cn9k_ethdev.c  | 2 +-\n 2 files changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/cnxk/cn10k_ethdev.c b/drivers/net/cnxk/cn10k_ethdev.c\nindex 15dbea2180..6f37bf5a4b 100644\n--- a/drivers/net/cnxk/cn10k_ethdev.c\n+++ b/drivers/net/cnxk/cn10k_ethdev.c\n@@ -778,9 +778,7 @@ cn10k_nix_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)\n \t/* DROP_RE is not supported with inline IPSec for CN10K A0 and\n \t * when vector mode is enabled.\n \t */\n-\tif ((roc_model_is_cn10ka_a0() || roc_model_is_cnf10ka_a0() ||\n-\t     roc_model_is_cnf10kb_a0()) &&\n-\t    !roc_env_is_asim()) {\n+\tif (roc_errata_nix_has_no_drop_re() && !roc_env_is_asim()) {\n \t\tdev->ipsecd_drop_re_dis = 1;\n \t\tdev->vec_drop_re_dis = 1;\n \t}\ndiff --git a/drivers/net/cnxk/cn9k_ethdev.c b/drivers/net/cnxk/cn9k_ethdev.c\nindex eda33dc8c5..be1276180c 100644\n--- a/drivers/net/cnxk/cn9k_ethdev.c\n+++ b/drivers/net/cnxk/cn9k_ethdev.c\n@@ -737,7 +737,7 @@ cn9k_nix_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)\n \troc_nix_ptp_info_cb_register(&dev->nix, cn9k_nix_ptp_info_update_cb);\n \n \t/* Update HW erratas */\n-\tif (roc_model_is_cn96_a0() || roc_model_is_cn95_a0())\n+\tif (roc_errata_nix_has_cq_min_size_4k())\n \t\tdev->cq_min_4k = 1;\n \treturn 0;\n }\n",
    "prefixes": [
        "2/2"
    ]
}