get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106942,
    "url": "http://patches.dpdk.org/api/patches/106942/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220207072932.22409-12-ndabilpuram@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": "<20220207072932.22409-12-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220207072932.22409-12-ndabilpuram@marvell.com",
    "date": "2022-02-07T07:29:24",
    "name": "[12/20] net/cnxk: fix inline device RQ tag mask",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "75ec67fd1a09a51ad82244b585f21dc6f598164d",
    "submitter": {
        "id": 1202,
        "url": "http://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@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/20220207072932.22409-12-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 21483,
            "url": "http://patches.dpdk.org/api/series/21483/?format=api",
            "web_url": "http://patches.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://patches.dpdk.org/series/21483/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/106942/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/106942/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 D7987A034F;\n\tMon,  7 Feb 2022 08:31:22 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 25E0341181;\n\tMon,  7 Feb 2022 08:30:24 +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 03F2C41181;\n Mon,  7 Feb 2022 08:30:22 +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 216Mp8dc022472;\n Sun, 6 Feb 2022 23:30:22 -0800",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3e1smr4p4s-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Sun, 06 Feb 2022 23:30:22 -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 Sun, 6 Feb 2022 23:30:20 -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; Sun, 6 Feb 2022 23:30:20 -0800",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 213BE3F705C;\n Sun,  6 Feb 2022 23:30:17 -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=V3bz5tS2o+RalGl7YuToH4zSzT9sRJU9FWXCXmVz0A8=;\n b=iw/GW/aPwwNr197j6Wo/bNa4FKHtw0kyrBi1VVXKlGF+nJlrHLjeLkt+hOjXdrKXVFUf\n WVVtmFGfLwfvJNef2o5kPdjER4uiWwr/DClzSvcTzsAHmKMuLBZ7NmwAGQ1SUXza7IyJ\n gxyPv/ocQXg99AYoX1TQ8o4Zdx3xt7h8FQogDvwsdsnuPtg8sEwRH6+4lR0GfZIzIvEE\n cv1E0tjzLjjHOAhtsiiHH6YFLuSrN1ix2A/4JQK4dRBPBeTf6SICJDQE89af0axkJwQv\n LFouwb0Y1kCSRf7kEuFE0U+c6amryriqFnC5C7XgmnzacjZ7iUsFdRzSF0gnz10HjYhh 3Q==",
        "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 12/20] net/cnxk: fix inline device RQ tag mask",
        "Date": "Mon, 7 Feb 2022 12:59:24 +0530",
        "Message-ID": "<20220207072932.22409-12-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": "FrWNvgFPKzmijm-uKXv23ZBV7t4cI1aq",
        "X-Proofpoint-ORIG-GUID": "FrWNvgFPKzmijm-uKXv23ZBV7t4cI1aq",
        "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": "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 53dfb5e..9ede66e 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": [
        "12/20"
    ]
}