get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 100156,
    "url": "https://patches.dpdk.org/api/patches/100156/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210930170113.29030-26-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": "<20210930170113.29030-26-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210930170113.29030-26-ndabilpuram@marvell.com",
    "date": "2021-09-30T17:01:10",
    "name": "[v2,25/28] net/cnxk: allow zero udp6 checksum for non inline device",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "06c9cfceaa21486efcf12f47ca8cc3dd8d087fe2",
    "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/20210930170113.29030-26-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 19307,
            "url": "https://patches.dpdk.org/api/series/19307/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19307",
            "date": "2021-09-30T17:00:48",
            "name": "net/cnxk: support for inline ipsec",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/19307/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/100156/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/100156/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 2C27FA0C43;\n\tThu, 30 Sep 2021 19:04:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 84CF441122;\n\tThu, 30 Sep 2021 19:03:38 +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 3C4CC41102\n for <dev@dpdk.org>; Thu, 30 Sep 2021 19:02:33 +0200 (CEST)",
            "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 SMTP id 18UDgMOk025599\n for <dev@dpdk.org>; Thu, 30 Sep 2021 10:02:32 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com with ESMTP id 3bdebtgysb-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 30 Sep 2021 10:02:32 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Thu, 30 Sep 2021 10:02:30 -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.18 via Frontend\n Transport; Thu, 30 Sep 2021 10:02:30 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 9FBFA3F7068;\n Thu, 30 Sep 2021 10:02:28 -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=gKrIb9oJ0FcoggN3BmImGGshBl78J/X//rZAuc8uheM=;\n b=Kv00tw0IXLKbJI0NRamuTq+ZWG9h7qWGX4MQAB7reHM5pDjfcfF+ZuexXSiXpzaszgor\n +C3uCqbFmokGnR5EBj7oCxdgUzZtI4vk0GCUWVHkkU+FS32ejvjVDXy0aCFCUbWJ9Ur0\n Fc976Ha0Iroy5sM5OmombqQ38SJ4+w3Yxa3Sa68Q/jvFNq1F0GyUobiqZc/qOogxBlva\n d0PDmCrr1/nt1EQlg6AE2Rp/Z+kNeB3qS7Z6amhNp0G4oflcXIPBc3VcwEMlRd4vA5B0\n /eugH4Sr/x1wp1rH0CbBRCuKnDwsJnQ/apBs6jzsprJ5e4cEtZww2gAjX6oD1B+jefi3 Uw==",
        "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>, Srujana Challa <schalla@marvell.com>",
        "Date": "Thu, 30 Sep 2021 22:31:10 +0530",
        "Message-ID": "<20210930170113.29030-26-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20210930170113.29030-1-ndabilpuram@marvell.com>",
        "References": "<20210902021505.17607-1-ndabilpuram@marvell.com>\n <20210930170113.29030-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "FwQOYeaFL1ixOoVHnTMtz1x2z_dj6EAZ",
        "X-Proofpoint-GUID": "FwQOYeaFL1ixOoVHnTMtz1x2z_dj6EAZ",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-09-30_06,2021-09-30_01,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH v2 25/28] net/cnxk: allow zero udp6 checksum for\n non inline device",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Srujana Challa <schalla@marvell.com>\n\nSets IP6_UDP_OPT in NIX RX config to allow optional\nUDP checksum for IPv6 in case of security offload.\nAlso disable drop_re when inline inbound is enabled.\n\nSigned-off-by: Srujana Challa <schalla@marvell.com>\n---\n drivers/net/cnxk/cn10k_ethdev.c | 5 +++++\n drivers/net/cnxk/cnxk_ethdev.c  | 9 +++++++++\n drivers/net/cnxk/cnxk_ethdev.h  | 1 +\n 3 files changed, 15 insertions(+)",
    "diff": "diff --git a/drivers/net/cnxk/cn10k_ethdev.c b/drivers/net/cnxk/cn10k_ethdev.c\nindex fa2343c..9dfea99 100644\n--- a/drivers/net/cnxk/cn10k_ethdev.c\n+++ b/drivers/net/cnxk/cn10k_ethdev.c\n@@ -553,6 +553,11 @@ cn10k_nix_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)\n \n \tdev = cnxk_eth_pmd_priv(eth_dev);\n \n+\t/* DROP_RE is not supported with inline IPSec for CN10K A0 */\n+\tif (roc_model_is_cn10ka_a0() || roc_model_is_cnf10ka_a0() ||\n+\t    roc_model_is_cnf10kb_a0())\n+\t\tdev->ipsecd_drop_re_dis = 1;\n+\n \t/* Register up msg callbacks for PTP information */\n \troc_nix_ptp_info_cb_register(&dev->nix, cn10k_nix_ptp_info_update_cb);\n \ndiff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 5a64691..2367d5c 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -1021,6 +1021,15 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev)\n \t\t   ROC_NIX_LF_RX_CFG_LEN_IL4 | ROC_NIX_LF_RX_CFG_LEN_IL3 |\n \t\t   ROC_NIX_LF_RX_CFG_LEN_OL4 | ROC_NIX_LF_RX_CFG_LEN_OL3);\n \n+\tif (dev->rx_offloads & DEV_RX_OFFLOAD_SECURITY) {\n+\t\trx_cfg |= ROC_NIX_LF_RX_CFG_IP6_UDP_OPT;\n+\t\t/* Disable drop re if rx offload security is enabled and\n+\t\t * platform does not support it.\n+\t\t */\n+\t\tif (dev->ipsecd_drop_re_dis)\n+\t\t\trx_cfg &= ~(ROC_NIX_LF_RX_CFG_DROP_RE);\n+\t}\n+\n \tnb_rxq = RTE_MAX(data->nb_rx_queues, 1);\n \tnb_txq = RTE_MAX(data->nb_tx_queues, 1);\n \ndiff --git a/drivers/net/cnxk/cnxk_ethdev.h b/drivers/net/cnxk/cnxk_ethdev.h\nindex a2bcea2..6fd50da 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.h\n+++ b/drivers/net/cnxk/cnxk_ethdev.h\n@@ -269,6 +269,7 @@ struct cnxk_eth_dev {\n \tunion {\n \t\tstruct {\n \t\t\tuint64_t cq_min_4k : 1;\n+\t\t\tuint64_t ipsecd_drop_re_dis : 1;\n \t\t};\n \t\tuint64_t hwcap;\n \t};\n",
    "prefixes": [
        "v2",
        "25/28"
    ]
}