get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 112522,
    "url": "https://patches.dpdk.org/api/patches/112522/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220608045508.350806-2-yaqi.tang@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": "<20220608045508.350806-2-yaqi.tang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220608045508.350806-2-yaqi.tang@intel.com",
    "date": "2022-06-08T04:55:07",
    "name": "[V1,1/2] test_plans/blocklist: Modify testpmd port and adjust format",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2aa177beaf24366ace9c23c162d219eb57d670d8",
    "submitter": {
        "id": 2357,
        "url": "https://patches.dpdk.org/api/people/2357/?format=api",
        "name": "Yaqi Tang",
        "email": "yaqi.tang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220608045508.350806-2-yaqi.tang@intel.com/mbox/",
    "series": [
        {
            "id": 23402,
            "url": "https://patches.dpdk.org/api/series/23402/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=23402",
            "date": "2022-06-08T04:55:06",
            "name": "Modify blocklist test plan and script",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/23402/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/112522/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/112522/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 508E4A054D;\n\tWed,  8 Jun 2022 06:55:16 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4AADF4113F;\n\tWed,  8 Jun 2022 06:55:16 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 5BEB84021D\n for <dts@dpdk.org>; Wed,  8 Jun 2022 06:55:14 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Jun 2022 21:55:13 -0700",
            "from dpdk-yaqi.sh.intel.com ([10.67.118.178])\n by FMSMGA003.fm.intel.com with ESMTP; 07 Jun 2022 21:55:12 -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=1654664114; x=1686200114;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=DjUV74ZpSmXZqVtiXrPdTZ7I/lyT0N3a5UjWPojehzQ=;\n b=drmP/taegNgAaDQ4TcP3uR8dsHyYQdGF4oCYTUa8D+et5Hwm1KhH3bel\n 2UMrfUgIRr1BvICqYfybcH/GF/xKy4iMjXqRCnBOKxGykPfn/uw/T910a\n e8n4byFT0tL15pqsRi2kZibGxDNxkjFj6rtNHb4h256c2b3X+77rkQyap\n MKy6LTmjQ/8ksk/1rX378pdvOaZ3FDU8BtTCeFSdzCYTRSwg6F9M9eJHj\n 3L2uq4facD2p+sCxP2ddSrgM1oXY1TUJQj3gbQ2gLCBabJrec8j3HL4Aa\n 2K7F33wJM8nRKWV03tU0chL/0o4+WwhM/aSUOVK7JxLmyUTd1/5omaKyG A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10371\"; a=\"265542889\"",
            "E=Sophos;i=\"5.91,285,1647327600\"; d=\"scan'208\";a=\"265542889\"",
            "E=Sophos;i=\"5.91,285,1647327600\"; d=\"scan'208\";a=\"670347351\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yaqi Tang <yaqi.tang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "xueqin.lin@intel.com,\n\tYaqi Tang <yaqi.tang@intel.com>",
        "Subject": "[dts][PATCH V1 1/2] test_plans/blocklist: Modify testpmd port and\n adjust format",
        "Date": "Wed,  8 Jun 2022 04:55:07 +0000",
        "Message-Id": "<20220608045508.350806-2-yaqi.tang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220608045508.350806-1-yaqi.tang@intel.com>",
        "References": "<20220608045508.350806-1-yaqi.tang@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": "Testpmd port in test plan is wrong, so modify test case 3 testpmd port.\nAnd adjust the format of test plan according to test plan template.\n\nSigned-off-by: Yaqi Tang <yaqi.tang@intel.com>\n---\n test_plans/blocklist_test_plan.rst | 171 +++++++++++++++--------------\n 1 file changed, 86 insertions(+), 85 deletions(-)",
    "diff": "diff --git a/test_plans/blocklist_test_plan.rst b/test_plans/blocklist_test_plan.rst\nindex f20fc207..26d1f202 100644\n--- a/test_plans/blocklist_test_plan.rst\n+++ b/test_plans/blocklist_test_plan.rst\n@@ -18,88 +18,89 @@ to the device under test::\n    modprobe vfio-pci\n    usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id\n \n-Test Case: Testpmd with no blocklisted device\n-=============================================\n-\n-Run testpmd in interactive mode and ensure that at least 2 ports\n-are bound and available::\n-\n-  build/app/dpdk-testpmd -c 3 -- -i\n-  ....\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:01:00.0/driver/unbind\n-  EAL: Core 1 is ready (tid=357fc700)\n-  EAL: bind PCI device 0000:01:00.0 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:01:00.0\n-  EAL: PCI memory mapped at 0x7fe6b68c7000\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:01:00.1/driver/unbind\n-  EAL: bind PCI device 0000:01:00.1 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:01:00.1\n-  EAL: PCI memory mapped at 0x7fe6b6847000\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.0/driver/unbind\n-  EAL: bind PCI device 0000:02:00.0 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:02:00.0\n-  EAL: PCI memory mapped at 0x7fe6b6580000\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.1/driver/unbind\n-  EAL: bind PCI device 0000:02:00.1 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:02:00.1\n-  EAL: PCI memory mapped at 0x7fe6b6500000\n-  Interactive-mode selected\n-  Initializing port 0... done:  Link Up - speed 10000 Mbps - full-duplex\n-  Initializing port 1... done:  Link Up - speed 10000 Mbps - full-duplex\n-  Initializing port 2... done:  Link Up - speed 10000 Mbps - full-duplex\n-  Initializing port 3... done:  Link Up - speed 10000 Mbps - full-duplex\n-\n-\n-Test Case: Testpmd with one port blocklisted\n-============================================\n-\n-Select first available port to be blocklisted and specify it with -b option. For the example above::\n-\n-  build/app/dpdk-testpmd -c 3 -b 0000:01:00.0 -- -i\n-\n-Check that corresponding device is skipped for binding, and\n-only 3 ports are available now:::\n-\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:01:00.1/driver/unbind\n-  EAL: bind PCI device 0000:01:00.1 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:01:00.1\n-  EAL: PCI memory mapped at 0x7f0037912000\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.0/driver/unbind\n-  EAL: bind PCI device 0000:02:00.0 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:02:00.0\n-  EAL: PCI memory mapped at 0x7f0037892000\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.1/driver/unbind\n-  EAL: bind PCI device 0000:02:00.1 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:02:00.1\n-  EAL: PCI memory mapped at 0x7f0037812000\n-  Interactive-mode selected\n-  Initializing port 0... done:  Link Up - speed 10000 Mbps - full-duplex\n-  Initializing port 1... done:  Link Up - speed 10000 Mbps - full-duplex\n-  Initializing port 2... done:  Link Up - speed 10000 Mbps - full-duplex\n-\n-\n-Test Case: Testpmd with all but one port blocklisted\n-====================================================\n-\n-Blocklist all devices except the last one.\n-For the example above:::\n-\n-  build/app/dpdk-testpmd -c 3 -b 0000:01:00.0  -b 0000:01:00.0 -b 0000:02:00.0 -- -i\n-\n-Check that 3 corresponding device is skipped for binding, and\n-only 1 ports is available now:::\n-\n-  EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.1/driver/unbind\n-  EAL: bind PCI device 0000:02:00.1 to uio driver\n-  EAL: Device bound\n-  EAL: map PCI resource for device 0000:02:00.1\n-  EAL: PCI memory mapped at 0x7f22e9aeb000\n-  Interactive-mode selected\n-  Initializing port 0... done:  Link Up - speed 10000 Mbps - full-duplex\n+Test Case\n+=========\n+\n+Test Case 1: Testpmd with no blocklisted device\n+-----------------------------------------------\n+\n+1. Run testpmd in interactive mode and ensure that at least 2 ports\n+   are bound and available::\n+\n+    build/app/dpdk-testpmd -c 3 -- -i\n+    ....\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:01:00.0/driver/unbind\n+    EAL: Core 1 is ready (tid=357fc700)\n+    EAL: bind PCI device 0000:01:00.0 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:01:00.0\n+    EAL: PCI memory mapped at 0x7fe6b68c7000\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:01:00.1/driver/unbind\n+    EAL: bind PCI device 0000:01:00.1 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:01:00.1\n+    EAL: PCI memory mapped at 0x7fe6b6847000\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.0/driver/unbind\n+    EAL: bind PCI device 0000:02:00.0 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:02:00.0\n+    EAL: PCI memory mapped at 0x7fe6b6580000\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.1/driver/unbind\n+    EAL: bind PCI device 0000:02:00.1 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:02:00.1\n+    EAL: PCI memory mapped at 0x7fe6b6500000\n+    Interactive-mode selected\n+    Initializing port 0... done:  Link Up - speed 10000 Mbps - full-duplex\n+    Initializing port 1... done:  Link Up - speed 10000 Mbps - full-duplex\n+    Initializing port 2... done:  Link Up - speed 10000 Mbps - full-duplex\n+    Initializing port 3... done:  Link Up - speed 10000 Mbps - full-duplex\n+\n+Test Case 2: Testpmd with one port blocklisted\n+----------------------------------------------\n+\n+1. Select first available port to be blocklisted and specify it with -b option. For the example above::\n+\n+    build/app/dpdk-testpmd -c 3 -b 0000:01:00.0 -- -i\n+\n+2. Check that corresponding device is skipped for binding, and\n+   only 3 ports are available now:::\n+\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:01:00.1/driver/unbind\n+    EAL: bind PCI device 0000:01:00.1 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:01:00.1\n+    EAL: PCI memory mapped at 0x7f0037912000\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.0/driver/unbind\n+    EAL: bind PCI device 0000:02:00.0 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:02:00.0\n+    EAL: PCI memory mapped at 0x7f0037892000\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.1/driver/unbind\n+    EAL: bind PCI device 0000:02:00.1 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:02:00.1\n+    EAL: PCI memory mapped at 0x7f0037812000\n+    Interactive-mode selected\n+    Initializing port 0... done:  Link Up - speed 10000 Mbps - full-duplex\n+    Initializing port 1... done:  Link Up - speed 10000 Mbps - full-duplex\n+    Initializing port 2... done:  Link Up - speed 10000 Mbps - full-duplex\n+\n+Test Case 3: Testpmd with all but one port blocklisted\n+------------------------------------------------------\n+\n+1. Blocklist all devices except the last one.\n+   For the example above:::\n+\n+    build/app/dpdk-testpmd -c 3 -b 0000:01:00.0  -b 0000:01:00.1 -b 0000:02:00.0 -- -i\n+\n+2. Check that 3 corresponding device is skipped for binding, and\n+   only 1 ports is available now:::\n+\n+    EAL: unbind kernel driver /sys/bus/pci/devices/0000:02:00.1/driver/unbind\n+    EAL: bind PCI device 0000:02:00.1 to uio driver\n+    EAL: Device bound\n+    EAL: map PCI resource for device 0000:02:00.1\n+    EAL: PCI memory mapped at 0x7f22e9aeb000\n+    Interactive-mode selected\n+    Initializing port 0... done:  Link Up - speed 10000 Mbps - full-duplex\n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}