get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113386,
    "url": "https://patches.dpdk.org/api/patches/113386/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220624053120.2831964-1-weix.ling@intel.com/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20220624053120.2831964-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220624053120.2831964-1-weix.ling@intel.com",
    "date": "2022-06-24T05:31:20",
    "name": "[V1,1/6] test_plans/dpdk_gro_lib_test_plan: delete modify dpdk code by dpdk change",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7089f5253a9533a1071d382f5a809f42725df520",
    "submitter": {
        "id": 1828,
        "url": "https://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220624053120.2831964-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 23746,
            "url": "https://patches.dpdk.org/api/series/23746/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=23746",
            "date": "2022-06-24T05:31:09",
            "name": "delete modify dpdk code by dpdk change",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/23746/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/113386/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/113386/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 83A2BA0032;\n\tFri, 24 Jun 2022 07:33:58 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7EFD640E2D;\n\tFri, 24 Jun 2022 07:33:58 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id A566040A82\n for <dts@dpdk.org>; Fri, 24 Jun 2022 07:33:56 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jun 2022 22:33:55 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jun 2022 22:33:54 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1656048836; x=1687584836;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=JUf25Rlu9bzi0cEt9fiokfhbNRUbKasjwmFZHRLW8FM=;\n b=Y5YODLUHOhVUke7KzfsI5/8x/rFWgCOzFGNoZxs5B1J9tdEr7H2dANet\n MMVcIiFIaN16v0O3sumftUQUeUTvnI2nWeGi36lkwqs0TshImUaH+ZNyU\n MXLjJ4qyDBVtwwLH+BZi+NIxrfR0PScloIONRM2ssjFCTl/kvqGfqrq1p\n cZvh+NKQQfHS9FOzdVqQbUsYzOeJEYcD5Q8XGXguS+R4g9N5+Q83UA5LG\n 490wzme+dfI3V7FZ4lpFCd64mejCYo509pCS+vhKXJLP8icke96fdFJpt\n sE35vXjInPe55e7y9N1shhxJsHa1EQdMRSIGiXnoS23AFYSSTKppTCvde A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10387\"; a=\"279693325\"",
            "E=Sophos;i=\"5.92,218,1650956400\"; d=\"scan'208\";a=\"279693325\"",
            "E=Sophos;i=\"5.92,218,1650956400\"; d=\"scan'208\";a=\"645115542\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 1/6] test_plans/dpdk_gro_lib_test_plan: delete modify\n dpdk code by dpdk change",
        "Date": "Fri, 24 Jun 2022 01:31:20 -0400",
        "Message-Id": "<20220624053120.2831964-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=y",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "According to the dpdk commit 1945c64674(app/testpmd: perform SW IP\nchecksum for GRO/GSO packets) and commit 8ba1723783(net/vhost:\nperform SW checksum in Tx path), no need to modify DPDK code to test.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n test_plans/dpdk_gro_lib_test_plan.rst | 46 ---------------------------\n 1 file changed, 46 deletions(-)",
    "diff": "diff --git a/test_plans/dpdk_gro_lib_test_plan.rst b/test_plans/dpdk_gro_lib_test_plan.rst\nindex e8c2472f..e36550d2 100644\n--- a/test_plans/dpdk_gro_lib_test_plan.rst\n+++ b/test_plans/dpdk_gro_lib_test_plan.rst\n@@ -41,47 +41,6 @@ also cover lightmode and heavymode test.\n Prerequisites\n =============\n \n-Modify the testpmd code as following::\n-\n-    --- a/app/test-pmd/csumonly.c\n-    +++ b/app/test-pmd/csumonly.c\n-    @@ -693,10 +693,12 @@ pkt_burst_checksum_forward(struct fwd_stream *fs)\n-                     * and inner headers */\n-     \n-                    eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *);\n-    +#if 0\n-                    ether_addr_copy(&peer_eth_addrs[fs->peer_addr],\n-                                    &eth_hdr->d_addr);\n-                    ether_addr_copy(&ports[fs->tx_port].eth_addr,\n-                                    &eth_hdr->s_addr);\n-    +#endif\n-                    parse_ethernet(eth_hdr, &info);\n-                    l3_hdr = (char *)eth_hdr + info.l2_len;\n-\n-Modify the dpdk code as following::\n-\n-   diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c\n-   index b38a4b6b1..573250dbe 100644\n-   --- a/drivers/net/vhost/rte_eth_vhost.c\n-   +++ b/drivers/net/vhost/rte_eth_vhost.c\n-   @@ -1071,8 +1071,14 @@ eth_dev_info(struct rte_eth_dev *dev,\n-     dev_info->min_rx_bufsize = 0;\n-\n-     dev_info->tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS |\n-   -       DEV_TX_OFFLOAD_VLAN_INSERT;\n-   - dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP;\n-   +       DEV_TX_OFFLOAD_VLAN_INSERT |\n-   +       DEV_TX_OFFLOAD_UDP_CKSUM |\n-   +       DEV_TX_OFFLOAD_TCP_CKSUM |\n-   +       DEV_TX_OFFLOAD_IPV4_CKSUM |\n-   +       DEV_TX_OFFLOAD_TCP_TSO;\n-   + dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP |\n-   +       DEV_RX_OFFLOAD_TCP_CKSUM |\n-   +       DEV_RX_OFFLOAD_UDP_CKSUM |\n-   +       DEV_RX_OFFLOAD_IPV4_CKSUM |\n-   +       DEV_RX_OFFLOAD_TCP_LRO;\n-    }\n-\n Test flow\n =========\n \n@@ -321,11 +280,6 @@ Vxlan topology\n Test Case5: DPDK GRO test with 2 queues using tcp/ipv4 traffic\n ==============================================================\n \n-Test flow\n-=========\n-\n-NIC2(In kernel) -> NIC1(DPDK) -> testpmd(csum fwd) -> Vhost -> Virtio-net\n-\n 1. Connect two nic port directly, put nic2 into another namesapce and turn on the tso of this nic port by below cmds::\n \n     ip netns del ns1\n",
    "prefixes": [
        "V1",
        "1/6"
    ]
}