get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 108063,
    "url": "https://patches.dpdk.org/api/patches/108063/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220222193512.19292-12-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": "<20220222193512.19292-12-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220222193512.19292-12-ndabilpuram@marvell.com",
    "date": "2022-02-22T19:35:03",
    "name": "[v2,12/21] net/cnxk: fix inline device RQ tag mask",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "75ec67fd1a09a51ad82244b585f21dc6f598164d",
    "submitter": {
        "id": 1202,
        "url": "https://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220222193512.19292-12-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 21801,
            "url": "https://patches.dpdk.org/api/series/21801/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21801",
            "date": "2022-02-22T19:34:52",
            "name": "[v2,01/21] common/cnxk: increase SMQ resource count",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/21801/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/108063/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/108063/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 11CD3A034C;\n\tTue, 22 Feb 2022 20:36:37 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 70A62411B2;\n\tTue, 22 Feb 2022 20:35:56 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 5DFC841147;\n Tue, 22 Feb 2022 20:35:53 +0100 (CET)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 21MIlBmw020298;\n Tue, 22 Feb 2022 11:35:52 -0800",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3ecwaxar3c-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 22 Feb 2022 11:35:52 -0800",
            "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 Tue, 22 Feb 2022 11:35:51 -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; Tue, 22 Feb 2022 11:35:51 -0800",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id D3C843F707B;\n Tue, 22 Feb 2022 11:35:48 -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=Y21Q4ROIAjsuJ13cthAVHeL9CMaxdeRyX3L6yiIef7c=;\n b=IHgrRQho00Iom0SsUWHIgnTiNMaxcZauTMy7g7xEQhmACo1nn1MTVGjtfQuJJLhBlYwY\n DltZ3Rx2vegAS8Tjc+nICiqzjmI1ggiSg03bYSoFbnR7Hq6mHhbmpO/3i3iYPYSaBk/o\n CwQn8R06k8IA8FMBrWGSbYNS5QOayYrys/NH1NCQaKfOUWOTNUmJeJCZM9W8sa/eeD1H\n hSgIzf4UmMqeaJ+GuFCoqxRmfBUmRAx/QWpvbt/wu2KRhh8esqJngEXur7qCzAzWBUok\n pZ8t+ikOyGuTigNFLMbYz6H3mjSMLx/xPTC4xcbrjyfHT0jvwbpz2AIE/4dUMQT8kzWk 8g==",
        "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>, <stable@dpdk.org>",
        "Subject": "[PATCH v2 12/21] net/cnxk: fix inline device RQ tag mask",
        "Date": "Wed, 23 Feb 2022 01:05:03 +0530",
        "Message-ID": "<20220222193512.19292-12-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220222193512.19292-1-ndabilpuram@marvell.com>",
        "References": "<20220207072932.22409-1-ndabilpuram@marvell.com>\n <20220222193512.19292-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "JsZeiBwhNepXqPvfaJk6XG5E-LfVApZs",
        "X-Proofpoint-ORIG-GUID": "JsZeiBwhNepXqPvfaJk6XG5E-LfVApZs",
        "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-22_06,2022-02-21_02,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": "Fix inline device rq tagmask to get packets with receive errors\nas type ETHDEV packets to callback handler so that packet buffers\ncan get freed. Currently only ipsec denied packets get the right\ntag mask.\n\nFixes: ee48f711f3b0 (\"common/cnxk: support NIX inline inbound and outbound setup\")\nCc: stable@dpdk.org\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/common/cnxk/roc_nix_inl.c | 2 +-\n drivers/net/cnxk/cnxk_ethdev.c    | 9 +++++++++\n 2 files changed, 10 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_nix_inl.c b/drivers/common/cnxk/roc_nix_inl.c\nindex 003f972..11a1691 100644\n--- a/drivers/common/cnxk/roc_nix_inl.c\n+++ b/drivers/common/cnxk/roc_nix_inl.c\n@@ -584,7 +584,7 @@ roc_nix_inl_dev_rq_get(struct roc_nix_rq *rq)\n \n \tinl_rq->flow_tag_width = 20;\n \t/* Special tag mask */\n-\tinl_rq->tag_mask = 0xFFF00000;\n+\tinl_rq->tag_mask = rq->tag_mask;\n \tinl_rq->tt = SSO_TT_ORDERED;\n \tinl_rq->hwgrp = 0;\n \tinl_rq->wqe_skip = inl_dev->wqe_skip;\ndiff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 3468aab..b272ede 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -3,6 +3,8 @@\n  */\n #include <cnxk_ethdev.h>\n \n+#include <rte_eventdev.h>\n+\n static inline uint64_t\n nix_get_rx_offload_capa(struct cnxk_eth_dev *dev)\n {\n@@ -597,6 +599,13 @@ cnxk_nix_rx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t qid,\n \trxq_sp->qconf.mp = mp;\n \n \tif (dev->rx_offloads & RTE_ETH_RX_OFFLOAD_SECURITY) {\n+\t\t/* Pass a tagmask used to handle error packets in inline device.\n+\t\t * Ethdev rq's tag_mask field will be overwritten later\n+\t\t * when sso is setup.\n+\t\t */\n+\t\trq->tag_mask =\n+\t\t\t0x0FF00000 | ((uint32_t)RTE_EVENT_TYPE_ETHDEV << 28);\n+\n \t\t/* Setup rq reference for inline dev if present */\n \t\trc = roc_nix_inl_dev_rq_get(rq);\n \t\tif (rc)\n",
    "prefixes": [
        "v2",
        "12/21"
    ]
}