get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113921,
    "url": "http://patches.dpdk.org/api/patches/113921/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220712154456.29293-1-songx.jiale@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": "<20220712154456.29293-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220712154456.29293-1-songx.jiale@intel.com",
    "date": "2022-07-12T15:44:56",
    "name": "[V1] test_plans/ice_dcf_date_path: modify the format of test plan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "05130d79f9e2f05531554bff080f4f44da154d35",
    "submitter": {
        "id": 2352,
        "url": "http://patches.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220712154456.29293-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 23967,
            "url": "http://patches.dpdk.org/api/series/23967/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=23967",
            "date": "2022-07-12T15:44:56",
            "name": "[V1] test_plans/ice_dcf_date_path: modify the format of test plan",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/23967/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/113921/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/113921/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 EA70CA0032;\n\tTue, 12 Jul 2022 09:23:00 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B0E5541109;\n\tTue, 12 Jul 2022 09:23:00 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id BFE88410EF\n for <dts@dpdk.org>; Tue, 12 Jul 2022 09:22:58 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Jul 2022 00:22:56 -0700",
            "from unknown (HELO cvl_tetser_105.icx.intel.com) ([10.239.252.94])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Jul 2022 00:22:55 -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=1657610579; x=1689146579;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=EnnCebdKl6NneDZozdIKIxKrPR6e71FjhmcaOh5jD7k=;\n b=Ljgx5K74lJe4VCphVRhaO/vkSftYHV8WA38uuM2V6h8eXT4AgRXd/Ist\n bUliGkRSJZP3WPmLHYQJtZZf6Xqelqp6W+ZnT0CPS5k66rCJfPlyk4vfy\n n+VZHpnYUD671UnbMyY6YkqNL0X5XAkBx434IA5soMbIpyQk2Q2kvL41D\n 0MTfs8Ej+ESAMcHJX6LSMqbJLfI8i4O1l4VbNFidSAB0VJQDoAUs9aFrR\n iFHTAkObTz7QGMe71NCKKMHIJ0V+gpyZcLjLrjBdwAfHgs5xg0QWNdD/Z\n 3L1F65b0wAzIRgu4Rc+Zm27f32XrAO3ayyQf8P1d4ojGcPR6aafdM9Bok A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10405\"; a=\"371168929\"",
            "E=Sophos;i=\"5.92,265,1650956400\"; d=\"scan'208\";a=\"371168929\"",
            "E=Sophos;i=\"5.92,265,1650956400\"; d=\"scan'208\";a=\"570089401\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1] test_plans/ice_dcf_date_path: modify the format of\n test plan",
        "Date": "Tue, 12 Jul 2022 15:44:56 +0000",
        "Message-Id": "<20220712154456.29293-1-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 2.17.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": "add license info, title,description and prerequisites.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/ice_dcf_date_path_test_plan.rst | 70 +++++++++++++++++-----\n 1 file changed, 54 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/test_plans/ice_dcf_date_path_test_plan.rst b/test_plans/ice_dcf_date_path_test_plan.rst\nindex 1a0df884..780dd63d 100644\n--- a/test_plans/ice_dcf_date_path_test_plan.rst\n+++ b/test_plans/ice_dcf_date_path_test_plan.rst\n@@ -1,20 +1,66 @@\n+.. SPDX-License-Identifier: BSD-3-Clause\n+   Copyright(c) 2019 Intel Corporation\n \n-Common steps for launching DCF\n-==============================\n+================================\n+ICE DCF date path function\n+================================\n \n-Generate 1 trust VF on 1 PF, and request 1 DCF on the trust VF.\n-PF should grant DCF mode to it.\n+Description\n+===========\n+* DCF data path support RSS packets by default.\n+* For L3 packets, input set is IP src/dst.\n+* For tunneling packets, input set is inner IP src/dst\n \n-Generate 4 VFs on PF ::\n+\n+Prerequisites\n+=============\n+1. Hardware:\n+   Intel® Ethernet 800 Series: E810-XXVDA4/E810-CQ\n+\n+2. Software:\n+   dpdk: http://dpdk.org/git/dpdk\n+   scapy: http://www.secdev.org/projects/scapy/\n+\n+3. Copy specific ice package to /lib/firmware/updates/intel/ice/ddp/ice.pkg,\n+   then load driver::\n+\n+    rmmod ice\n+    insmod ice.ko\n+\n+4. Compile DPDK::\n+\n+    CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc\n+    ninja -C x86_64-native-linuxapp-gcc -j 110\n+\n+5. Get the pci device id of DUT, for example::\n+\n+    ./usertools/dpdk-devbind.py -s\n+\n+    0000:18:00.0 'Device 159b' if=ens785f0 drv=ice unused=vfio-pci\n+    0000:18:00.1 'Device 159b' if=ens785f1 drv=ice unused=vfio-pci\n+6. Generate 4 VFs on PF0(not all the VFs are used)::\n \n     echo 4 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs\n \n-Set a VF as trust ::\n+    ./usertools/dpdk-devbind.py -s\n+    0000:18:01.0 'Ethernet Adaptive Virtual Function 1889' if=ens785f0v0 drv=iavf unused=vfio-pci\n+    0000:18:01.1 'Ethernet Adaptive Virtual Function 1889' if=ens785f0v1 drv=iavf unused=vfio-pci\n+    0000:18:01.2 'Ethernet Adaptive Virtual Function 1889' if=ens785f0v2 drv=iavf unused=vfio-pci\n+    0000:18:01.3 'Ethernet Adaptive Virtual Function 1889' if=ens785f0v3 drv=iavf unused=vfio-pci\n+\n+7. Set VF0 as trust::\n+\n+    ip link set ens785f0 vf 0 trust on\n+\n+8. Set mac addr for VF1::\n \n-    ip link set enp24s0f0 vf 0 trust on\n     ip link set enp27s0f0 vf 0 mac D2:6B:4C:EB:1C:26\n \n-Launch dpdk on the VF, request DCF mode ::\n+9. Bind VFs to dpdk driver::\n+\n+    ./usertools/dpdk-devbind.py -b vfio-pci 0000:18:01.0 0000:18:01.1 0000:18:01.2 0000:18:01.3\n+\n+10.Launch dpdk on the VF, request DCF mode ::\n \n     ./usertools/dpdk-devbind.py -b vfio-pci 18:01.0\n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i\n@@ -23,8 +69,6 @@ Launch dpdk on the VF, request DCF mode ::\n Test Case: Launch DCF and do macfwd\n ===================================\n \n-Execute **common steps** to prepare DCF test environment\n-\n Set macfwd ::\n \n     set fwd mac\n@@ -48,8 +92,6 @@ Test Case: Check default rss for L3\n DCF data path support RSS packets by default. For L3 packets, input set is IP src/dst.\n For tunneling packets, input set is inner IP src/dst.\n \n-Execute **common steps** to prepare DCF test environment\n-\n Set rxonly forward mode ::\n \n     set fwd rxonly\n@@ -104,8 +146,6 @@ Test Case: Check default rss for L4\n DCF data path support RSS packets by default. For L3 packets, input set is IP src/dst.\n For tunneling packets, input set is inner IP src/dst.\n \n-Execute **common steps** to prepare DCF test environment\n-\n Set rxonly forward mode ::\n \n     set fwd rxonly\n@@ -166,8 +206,6 @@ Test Case: Create rule with to original VF action\n DCF data path support RSS packets by default. For L3 packets, input set is IP src/dst.\n For tunneling packets, input set is inner IP src/dst.\n \n-Execute **common steps** to prepare DCF test environment\n-\n Set rxonly forward mode ::\n \n     set fwd rxonly\n",
    "prefixes": [
        "V1"
    ]
}