get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77718,
    "url": "https://patches.dpdk.org/api/patches/77718/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/1600169086-340540-11-git-send-email-haiyangx.zhao@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": "<1600169086-340540-11-git-send-email-haiyangx.zhao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1600169086-340540-11-git-send-email-haiyangx.zhao@intel.com",
    "date": "2020-09-15T11:24:39",
    "name": "[V1,10/17] test_plans/dpdk_gro_lib_test_plan: fix build warnings and errors",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "48cc87972dcd02f8161f534feeb68761986f08d8",
    "submitter": {
        "id": 1978,
        "url": "https://patches.dpdk.org/api/people/1978/?format=api",
        "name": "Zhao, HaiyangX",
        "email": "haiyangx.zhao@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/1600169086-340540-11-git-send-email-haiyangx.zhao@intel.com/mbox/",
    "series": [
        {
            "id": 12231,
            "url": "https://patches.dpdk.org/api/series/12231/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=12231",
            "date": "2020-09-15T11:24:29",
            "name": "test_plans:fix build warnings and errors",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/12231/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/77718/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/77718/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 24C67A04C9;\n\tTue, 15 Sep 2020 13:41:21 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1BB7C1C0D2;\n\tTue, 15 Sep 2020 13:41:21 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 85D1E1BE8E\n for <dts@dpdk.org>; Tue, 15 Sep 2020 13:41:19 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Sep 2020 04:41:19 -0700",
            "from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68])\n by orsmga001.jf.intel.com with ESMTP; 15 Sep 2020 04:41:17 -0700"
        ],
        "IronPort-SDR": [
            "\n cKvu2xtKYkjE43L0WfjiBt21PRD4QvYhpeSF6Ui8/YGdvGP/AqSUiz+HQMKZZ3qR+bFWrqQR5/\n ZGPIjQaU9Glw==",
            "\n Y/SLIJt6WdsOQMPHLjkjfMB8Rxly7LxRz90vCp6Op8HTo2/ySJwxfjjGJaavktsuGR9OBWw+x2\n DD9L02NtfIOg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9744\"; a=\"223423701\"",
            "E=Sophos;i=\"5.76,429,1592895600\"; d=\"scan'208\";a=\"223423701\"",
            "E=Sophos;i=\"5.76,429,1592895600\"; d=\"scan'208\";a=\"379710582\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Haiyang Zhao <haiyangx.zhao@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Haiyang Zhao <haiyangx.zhao@intel.com>",
        "Date": "Tue, 15 Sep 2020 19:24:39 +0800",
        "Message-Id": "<1600169086-340540-11-git-send-email-haiyangx.zhao@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1600169086-340540-1-git-send-email-haiyangx.zhao@intel.com>",
        "References": "<1600169086-340540-1-git-send-email-haiyangx.zhao@intel.com>",
        "Subject": "[dts] [PATCH V1 10/17] test_plans/dpdk_gro_lib_test_plan: fix build\n\twarnings and errors",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "*.fix build warnings and errors\n\nSigned-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>\n---\n test_plans/dpdk_gro_lib_test_plan.rst | 57 ++++++++++++++++++-----------------\n 1 file changed, 29 insertions(+), 28 deletions(-)",
    "diff": "diff --git a/test_plans/dpdk_gro_lib_test_plan.rst b/test_plans/dpdk_gro_lib_test_plan.rst\nindex ea0244c..60a0123 100644\n--- a/test_plans/dpdk_gro_lib_test_plan.rst\n+++ b/test_plans/dpdk_gro_lib_test_plan.rst\n@@ -89,27 +89,27 @@ Modify the testpmd code as following::\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+   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@@ -148,7 +148,7 @@ Test Case1: DPDK GRO lightmode test with tcp/ipv4 traffic\n \n 3.  Set up vm with virto device and using kernel virtio-net driver::\n \n-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n+      taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n        -numa node,memdev=mem \\\n        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6001-:22 \\\n@@ -200,7 +200,7 @@ Test Case2: DPDK GRO heavymode test with tcp/ipv4 traffic\n \n 3.  Set up vm with virto device and using kernel virtio-net driver::\n \n-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n+      taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n        -numa node,memdev=mem \\\n        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6001-:22 \\\n@@ -252,7 +252,7 @@ Test Case3: DPDK GRO heavymode_flush4 test with tcp/ipv4 traffic\n \n 3.  Set up vm with virto device and using kernel virtio-net driver::\n \n-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n+      taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n        -numa node,memdev=mem \\\n        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6001-:22 \\\n@@ -278,10 +278,11 @@ Test Case4: DPDK GRO test with vxlan traffic\n Vxlan topology\n --------------\n   VM          Host\n+\n 50.1.1.2      50.1.1.1\n-   |           |\n+   \\|           |\n 1.1.2.3       1.1.2.4\n-   |------------Testpmd------------|\n+  \\|------------Testpmd------------|\n \n 1. Connect two nic port directly, put nic2 into another namesapce and create Host VxLAN port::\n \n@@ -322,7 +323,7 @@ Vxlan topology\n \n 3.  Set up vm with virto device and using kernel virtio-net driver::\n \n-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n+      taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n        -numa node,memdev=mem \\\n        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6001-:22 \\\n@@ -383,7 +384,7 @@ NIC2(In kernel) -> NIC1(DPDK) -> testpmd(csum fwd) -> Vhost -> Virtio-net\n \n 3.  Set up vm with virto device and using kernel virtio-net driver::\n \n-    taskset -c 31 /home/qemu-install/qemu-3.0/bin/qemu-system-x86_64 -name us-vhost-vm1 \\\n+      taskset -c 31 /home/qemu-install/qemu-3.0/bin/qemu-system-x86_64 -name us-vhost-vm1 \\\n        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n        -numa node,memdev=mem \\\n        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -netdev user,id=yinan,hostfwd=tcp:127.0.0.1:6005-:22 -device e1000,netdev=yinan \\\n",
    "prefixes": [
        "V1",
        "10/17"
    ]
}