get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115633,
    "url": "http://patches.dpdk.org/api/patches/115633/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220830024740.26250-2-weiyuanx.li@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<20220830024740.26250-2-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220830024740.26250-2-weiyuanx.li@intel.com",
    "date": "2022-08-30T02:47:32",
    "name": "[V3,02/10] test_plans/vf_offload: update dts code for dpdk csum change",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "798e4e844edc3e11cb11e0ee20cae6bfba79a3aa",
    "submitter": {
        "id": 2477,
        "url": "http://patches.dpdk.org/api/people/2477/?format=api",
        "name": "Weiyuan Li",
        "email": "weiyuanx.li@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220830024740.26250-2-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 24462,
            "url": "http://patches.dpdk.org/api/series/24462/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=24462",
            "date": "2022-08-30T02:47:31",
            "name": "[V3,01/10] tests/vf_offload: update dts code for dpdk csum change",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/24462/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/115633/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/115633/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 06437A04FD;\n\tTue, 30 Aug 2022 04:47:42 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CD139427F7;\n\tTue, 30 Aug 2022 04:47:41 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id CB29140F17\n for <dts@dpdk.org>; Tue, 30 Aug 2022 04:47:40 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Aug 2022 19:47:31 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.248])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Aug 2022 19:47:30 -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=1661827660; x=1693363660;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=FdQge3NQ3tGmg6oz88OEMFY6GbemMuNk9HWbJJQqbO4=;\n b=A4iLNJbSQCP7t8dntz2VZDlwT8MJdNTuCdmtDSHquT4692o9GIhu4ERa\n Ik83xJI4qAHyBB51IURlkU+l4KmkRWa3JZQS25XlP51/+od+QrHA4tVrF\n x9ZoZZgIgnJ5jvUz+erWg9EEpmxy0jR5bH0RDbcuSRl+YhOY2cFtmMsud\n kv6+XrxzA/E1tQ+SmkFcHR86BUh4CeUKYQBuLyXYePpFQz4v8eCXAsBJW\n IkClKp2eb6qqFjtISuKenkVCz3ZIQZy49REfb7ibvpiDkcU60b57j5Uvf\n MdhKxnMxPa1/JPnZYXoEJH0LR7nkqTADK7WvMPOW8JXVcC63j7ojWxxF5 g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10454\"; a=\"359024441\"",
            "E=Sophos;i=\"5.93,274,1654585200\"; d=\"scan'208\";a=\"359024441\"",
            "E=Sophos;i=\"5.93,274,1654585200\"; d=\"scan'208\";a=\"641181893\""
        ],
        "From": "Weiyuan Li <weiyuanx.li@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Weiyuan Li <weiyuanx.li@intel.com>,\n\tJiale Song <songx.jiale@intel.com>",
        "Subject": "[dts][PATCH V3 02/10] test_plans/vf_offload: update dts code for dpdk\n csum change",
        "Date": "Tue, 30 Aug 2022 10:47:32 +0800",
        "Message-Id": "<20220830024740.26250-2-weiyuanx.li@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20220830024740.26250-1-weiyuanx.li@intel.com>",
        "References": "<20220830024740.26250-1-weiyuanx.li@intel.com>",
        "MIME-Version": "1.0",
        "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 dpdk commit 9b4ea7ae77fa(app/testpmd: revert MAC update in checksum forwarding) modify\nthe script adapt to this chagne.\n\n1. Modify VF case to enable promisc.\n2. Modify PF case to send packet dst mac is random.\n\nSigned-off-by: Weiyuan Li <weiyuanx.li@intel.com>\n---\nTested-by: Jiale Song < songx.jiale@intel.com>\n\nv2:\n-Enable promisc mode in testpmd\nv3:\n-Test plan csum add enable promisc mode\n\n test_plans/vf_offload_test_plan.rst | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst\nindex 522fc017..ba490e06 100644\n--- a/test_plans/vf_offload_test_plan.rst\n+++ b/test_plans/vf_offload_test_plan.rst\n@@ -17,6 +17,11 @@ to the device under test::\n    modprobe vfio-pci\n    usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id\n \n+IP link set VF trust on and spoofchk off on DUT::\n+\n+   ip link set $PF_INTF vf 0 trust on\n+   ip link set $PF_INTF vf 0 spoofchk off\n+\n Assuming that ports ``0`` and ``1`` are connected to a traffic generator,\n enable hardware rx checksum offload with \"--enable-rx-cksum\",\n launch the ``testpmd`` with the following arguments::\n@@ -71,6 +76,7 @@ Enable the IPv4/UDP/TCP/SCTP HW checksum offload on port 0::\n   testpmd> csum set udp hw 0\n   testpmd> csum set sctp hw 0\n   testpmd> port start all\n+  testpmd> set promisc 0 on\n   testpmd> start\n     csum packet forwarding - CRC stripping disabled - packets/burst=32\n     nb forwarding cores=1 - nb forwarding ports=10\n@@ -110,6 +116,7 @@ Enable the IPv4/UDP/TCP/SCTP SW checksum offload on port 0::\n   testpmd> csum set udp sw 0\n   testpmd> csum set sctp sw 0\n   testpmd> port start all\n+  testpmd> set promisc 0 on\n   testpmd> start\n     csum packet forwarding - CRC stripping disabled - packets/burst=32\n     nb forwarding cores=1 - nb forwarding ports=10\n@@ -154,6 +161,7 @@ and checksum on rx port. The test commands is below::\n   testpmd> csum set udp hw 0\n   testpmd> csum set sctp hw 0\n   testpmd> port start all\n+  testpmd> set promisc 0 on\n   testpmd> set fwd csum\n \n   # Enable TSO on tx port\n@@ -185,6 +193,7 @@ Launch the userland ``testpmd`` application on DUT as follows::\n   testpmd> csum set tcp hw 0\n   testpmd> csum set udp hw 0\n   testpmd> csum set sctp hw 0\n+  testpmd> set promisc 0 on\n   testpmd> port start all\n \n   # Enable TSO on tx port\n",
    "prefixes": [
        "V3",
        "02/10"
    ]
}