get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 132304,
    "url": "https://patches.dpdk.org/api/patches/132304/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231004125909.1385272-2-ndabilpuram@marvell.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20231004125909.1385272-2-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231004125909.1385272-2-ndabilpuram@marvell.com",
    "date": "2023-10-04T12:59:08",
    "name": "[2/2] net/cnxk: report undefined IPsec errors as PMD error",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "14a688ac582eeaffabe4879b0e91940835d8c99a",
    "submitter": {
        "id": 1202,
        "url": "https://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231004125909.1385272-2-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 29735,
            "url": "https://patches.dpdk.org/api/series/29735/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29735",
            "date": "2023-10-04T12:59:08",
            "name": "[1/2] ethdev: add IPsec event subtype range for PMD specific code",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/29735/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/132304/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/132304/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 0FD2F426B6;\n\tWed,  4 Oct 2023 15:01:07 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F0142402DE;\n\tWed,  4 Oct 2023 15:01:06 +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 26E9A402DE\n for <dev@dpdk.org>; Wed,  4 Oct 2023 15:01:05 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 3945rCBH018956 for <dev@dpdk.org>; Wed, 4 Oct 2023 06:01:04 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3th29uh6g9-4\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 04 Oct 2023 06:01:03 -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.48;\n Wed, 4 Oct 2023 06:01:00 -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.48 via Frontend\n Transport; Wed, 4 Oct 2023 06:01:00 -0700",
            "from hyd1588t430.caveonetworks.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 599533F7044;\n Wed,  4 Oct 2023 06:00: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-transfer-encoding : content-type; s=pfpt0220;\n bh=dFydeYiOjcHrx3WrdgPskTKA39GTIaBOi5cTvt0puoI=;\n b=lExwh9JNPM57agQzwCJBRB/eZ3wZZlZBxe+ITFeZ1UWBmPvXpU36PlR+l0aI1jPecULL\n e3lpstT/A5DI1fcZG9eOJpdpnInhJm9dHr+CS2Zm+f6jCvwzmUQj0obh36+ggSpaVu8W\n 1uCJQEdA1QZoGyRki6jDmgG9wKxSKh5nvj+X1khAKPCp5ktp1nYJndGr+8555mX1XfwT\n KkN46sP9qV8PtzCi8zpZwwPZHeYiHhvlJ4dlCxxOHNKZvbq2ZKjMHRrD5ifAfWDp7lpJ\n 23jZmBIL268jZjPqUXMpan8gytpMZMi7RXgBvoMOK63v3omze7SoCzqU6Xz9JxkIVdjH Ig==",
        "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 2/2] net/cnxk: report undefined IPsec errors as PMD error",
        "Date": "Wed, 4 Oct 2023 18:29:08 +0530",
        "Message-ID": "<20231004125909.1385272-2-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20231004125909.1385272-1-ndabilpuram@marvell.com>",
        "References": "<20231004125909.1385272-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "olb67QIIEdM1JW4d_i8oImg15lv3eNXt",
        "X-Proofpoint-ORIG-GUID": "olb67QIIEdM1JW4d_i8oImg15lv3eNXt",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-10-04_04,2023-10-02_01,2023-05-22_02",
        "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": "Report IPsec event subtype as PMD error for errors that are not\ndefined in spec.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/net/cnxk/cn10k_ethdev_sec.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c b/drivers/net/cnxk/cn10k_ethdev_sec.c\nindex b98fc9378e..d1df4a01e6 100644\n--- a/drivers/net/cnxk/cn10k_ethdev_sec.c\n+++ b/drivers/net/cnxk/cn10k_ethdev_sec.c\n@@ -522,7 +522,7 @@ cn10k_eth_sec_sso_work_cb(uint64_t *gw, void *args, uint32_t soft_exp_event)\n \t\t\tplt_warn(\"Outbound error, bad ip pkt, mbuf %p,\"\n \t\t\t\t \" sa_index %u (total warnings %\" PRIu64 \")\",\n \t\t\t\t mbuf, sess_priv.sa_idx, warn_cnt);\n-\t\tdesc.subtype = RTE_ETH_EVENT_IPSEC_UNKNOWN;\n+\t\tdesc.subtype = -res->uc_compcode;\n \t\tbreak;\n \tdefault:\n \t\twarn_cnt++;\n@@ -532,7 +532,7 @@ cn10k_eth_sec_sso_work_cb(uint64_t *gw, void *args, uint32_t soft_exp_event)\n \t\t\t\t \" (total warnings %\" PRIu64 \")\",\n \t\t\t\t mbuf, sess_priv.sa_idx, res->compcode,\n \t\t\t\t res->uc_compcode, warn_cnt);\n-\t\tdesc.subtype = RTE_ETH_EVENT_IPSEC_UNKNOWN;\n+\t\tdesc.subtype = -res->uc_compcode;\n \t\tbreak;\n \t}\n \n",
    "prefixes": [
        "2/2"
    ]
}