get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 108759,
    "url": "https://patches.dpdk.org/api/patches/108759/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220317172545.2520892-1-yux.jiang@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": "<20220317172545.2520892-1-yux.jiang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220317172545.2520892-1-yux.jiang@intel.com",
    "date": "2022-03-17T17:25:45",
    "name": "[V1] test_plans/sw_hw_thash_consistence: remove test plan due to dpdk code(rte_hash) doesn't upstream",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "56a1e69ec1c375a54378569d0288b4aa957f3975",
    "submitter": {
        "id": 1709,
        "url": "https://patches.dpdk.org/api/people/1709/?format=api",
        "name": "Yu Jiang",
        "email": "yux.jiang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220317172545.2520892-1-yux.jiang@intel.com/mbox/",
    "series": [
        {
            "id": 22173,
            "url": "https://patches.dpdk.org/api/series/22173/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=22173",
            "date": "2022-03-17T17:25:45",
            "name": "[V1] test_plans/sw_hw_thash_consistence: remove test plan due to dpdk code(rte_hash) doesn't upstream",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/22173/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/108759/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/108759/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 12E4BA0093;\n\tThu, 17 Mar 2022 10:26:35 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 02B604067B;\n\tThu, 17 Mar 2022 10:26:35 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 5481A40151\n for <dts@dpdk.org>; Thu, 17 Mar 2022 10:26:32 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Mar 2022 02:26:31 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.226])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Mar 2022 02:26:29 -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=1647509192; x=1679045192;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=Qwch2bu+ge6IoeMWP9dB5uvRr8BxS3Oos1dR2CQNSj4=;\n b=ATk7nPGzBWQKHKpCDjqfzfdRnE44xx54TUe+2Iz99lHDphh+psdEhb01\n 1dFqxXnDKt/wtO0FBSf5/73mCV5M93UMWetCVHMgDMUBMDkpU31IBroL/\n M6gtDpiqyB62i5cYHS41CCIZnIvFEav++aCw9h9GvwleMCu9saXxLEYUk\n o++5oexVy51+CxBXAC6WgGcVoQ3XsYMZLDjbk9/w32o99XqPLss6PMkKD\n Pji7Kuwl361D9Yz3UZUi1NPGhXFz0Qi7JY0cXwS4j70TFRpr0IXO2SXag\n w0ZIfxquozuRj3KzIgajpZY1SnHqcDEtwN2EqSmKuK/Rd7oCjFrdnR69h Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10288\"; a=\"343258652\"",
            "E=Sophos;i=\"5.90,188,1643702400\"; d=\"scan'208\";a=\"343258652\"",
            "E=Sophos;i=\"5.90,188,1643702400\"; d=\"scan'208\";a=\"541302115\""
        ],
        "From": "Yu Jiang <yux.jiang@intel.com>",
        "To": "zhaoyan.chen@intel.com,\n\tlijuan.tu@intel.com,\n\tdts@dpdk.org",
        "Cc": "Yu Jiang <yux.jiang@intel.com>",
        "Subject": "[dts][PATCH V1] test_plans/sw_hw_thash_consistence: remove test plan\n due to dpdk code(rte_hash) doesn't upstream",
        "Date": "Thu, 17 Mar 2022 17:25:45 +0000",
        "Message-Id": "<20220317172545.2520892-1-yux.jiang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "quoted-printable",
        "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": "rte_hash feature was requested by PAE before, but the patch is not suitable for upstream into DPDK,\nso remove test plan from dts.\n\nSigned-off-by: Yu Jiang <yux.jiang@intel.com>\n---\n test_plans/index.rst                          |  1 -\n .../sw_hw_thash_consistence_test_plan.rst     | 74 -------------------\n 2 files changed, 75 deletions(-)\n delete mode 100644 test_plans/sw_hw_thash_consistence_test_plan.rst",
    "diff": "diff --git a/test_plans/index.rst b/test_plans/index.rst\r\nindex a603b1af..054d682c 100644\r\n--- a/test_plans/index.rst\r\n+++ b/test_plans/index.rst\r\n@@ -161,7 +161,6 @@ The following are the test plans for the DPDK DTS automated test system.\r\n     short_live_test_plan\r\n     shutdown_api_test_plan\r\n     speed_capabilities_test_plan\r\n-    sw_hw_thash_consistence_test_plan\r\n     vhost_cbdma_test_plan\r\n     vhost_user_interrupt_test_plan\r\n     sriov_kvm_test_plan\r\ndiff --git a/test_plans/sw_hw_thash_consistence_test_plan.rst b/test_plans/sw_hw_thash_consistence_test_plan.rst\r\ndeleted file mode 100644\r\nindex a263b3d2..00000000\r\n--- a/test_plans/sw_hw_thash_consistence_test_plan.rst\r\n+++ /dev/null\r\n@@ -1,74 +0,0 @@\r\n-.. Copyright (c) <2020>, Intel Corporation\r\n-   All rights reserved.\r\n-\r\n-   Redistribution and use in source and binary forms, with or without\r\n-   modification, are permitted provided that the following conditions\r\n-   are met:\r\n-\r\n-   - Redistributions of source code must retain the above copyright\r\n-     notice, this list of conditions and the following disclaimer.\r\n-\r\n-   - Redistributions in binary form must reproduce the above copyright\r\n-     notice, this list of conditions and the following disclaimer in\r\n-     the documentation and/or other materials provided with the\r\n-     distribution.\r\n-\r\n-   - Neither the name of Intel Corporation nor the names of its\r\n-     contributors may be used to endorse or promote products derived\r\n-     from this software without specific prior written permission.\r\n-\r\n-   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r\n-   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r\n-   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\r\n-   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\r\n-   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\r\n-   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r\n-   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\n-   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n-   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n-   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n-   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n-   OF THE POSSIBILITY OF SUCH DAMAGE.\r\n-\r\n-======================================================\r\n-Software/hardware Toeplitz hash consistence test suite\r\n-======================================================\r\n-\r\n-This test suite is to check if the Toeplitz hash by hardware (NIC) is consistence \r\n-with by software (rte_hash)\r\n-\r\n-First apply a DPDK patch, which provide an example for calling rte_hash ::\r\n-\r\n-    cd <dpdk>\r\n-    git apply <dts>/dep/0001-Generate-an-example-for-calling-thash-lib.patch\r\n-\r\n-Compile the example ::\r\n-\r\n-    export RTE_SDK=<dpdk>\r\n-    cd <dpdk>/examples/thash\r\n-    make\r\n-\r\n-Run thash example, which supported format: thash_test TYPE(ipv4|ipv4-udp|ipv4-tcp) IP_DST IP_SRC PORT_DST PORT_SRC ::\r\n-\r\n-    ./build/thash_test ipv6 ::22 ::11 1234 4321\r\n-    # The output\r\n-    ipv6\r\n-    ::22\r\n-    ::11\r\n-    1234\r\n-    4321\r\n-\r\n-    Hash value = 914e08e4\r\n-\r\n-Then, configure the NIC and send packets to the NIC, expect the hash value by NIC is same to thash_test ::\r\n-\r\n-    # Launch testpmd, and configure the hash key\r\n-    testpmd> set verbose 1\r\n-    testpmd> start\r\n-    testpmd> port config 0 rss-hash-key ipv6 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd\r\n-    # Send packet to testpmd's interface\r\n-    sendp(Ether(dst=\"52:36:30:A0:73:69\")/IPv6(dst=\"::22\",src=\"::11\"),iface='ens801f1')\r\n-    # The RSS hash value is same to thash_test result\r\n-    port 0/queue 4: received 1 packets\r\n-    src=00:00:00:00:00:00 - dst=52:36:30:A0:73:69 - type=0x86dd - length=60 - nb_segs=1 - RSS hash=0x914e08e4 - RSS queue=0x4 - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Receive queue=0x4\r\n-    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN \r\n",
    "prefixes": [
        "V1"
    ]
}