get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113414,
    "url": "https://patches.dpdk.org/api/patches/113414/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220624155953.6335-1-songx.jiale@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": "<20220624155953.6335-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220624155953.6335-1-songx.jiale@intel.com",
    "date": "2022-06-24T15:59:53",
    "name": "[V1] tests/multiprocess: modify script to suport i40e driver",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f3283413bad2055df10070a52419a5c57cdd5d71",
    "submitter": {
        "id": 2352,
        "url": "https://patches.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220624155953.6335-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 23755,
            "url": "https://patches.dpdk.org/api/series/23755/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=23755",
            "date": "2022-06-24T15:59:53",
            "name": "[V1] tests/multiprocess: modify script to suport i40e driver",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/23755/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/113414/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/113414/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 B9226A0032;\n\tFri, 24 Jun 2022 09:35:52 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B2C1340A87;\n\tFri, 24 Jun 2022 09:35:52 +0200 (CEST)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 08CB540A82\n for <dts@dpdk.org>; Fri, 24 Jun 2022 09:35:50 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Jun 2022 00:35:33 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.94])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Jun 2022 00:35:32 -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=1656056151; x=1687592151;\n h=from:to:cc:subject:date:message-id;\n bh=d+pr0s+tTyM4L6wlVt7UpO+s2M352u2KMSvVJqFKns8=;\n b=ZqvC7UzKmcltGLjKMwoPIk/bgpwTcN3sqrqR7CZzh/KfnFOjoW6w5qno\n HID1ueQVZ8iMhiSNkwRh2yF2/uL9gwonLXCnJcqS9WPt0FCKI65UxHfzc\n EZxA3P41fO9gOA4dX+YvsUFazOEpEsLnzfdXw+W4A0R202T1EMwvc++Zm\n qtb2ENxmLm+URP7x+Nk4PhJqNoSv4IlRRiS8139JYkpZyHIVptKQJKw+a\n 296K27isQGwmcKh8s5v92LG9shKxDJD16QLxFjF0RXLNSqvWH75a91Se5\n uCLbg+IUIHVFyzMiP2WDh3s81u1RwMPp2XceO2sigvqUuuG7D0O9KOBR1 A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10387\"; a=\"342633337\"",
            "E=Sophos;i=\"5.92,218,1650956400\"; d=\"scan'208\";a=\"342633337\"",
            "E=Sophos;i=\"5.92,218,1650956400\"; d=\"scan'208\";a=\"645153413\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1] tests/multiprocess: modify script to suport i40e\n driver",
        "Date": "Fri, 24 Jun 2022 15:59:53 +0000",
        "Message-Id": "<20220624155953.6335-1-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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": "1.add IPv6_RAW type packet.\n2.i40e driver only rss for IP and IPv6 packets by default, modify the case to support i40e driver.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n framework/packet.py                   |  1 +\n test_plans/multiprocess_test_plan.rst |  1 +\n tests/TestSuite_multiprocess.py       | 15 +++++++++++----\n 3 files changed, 13 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/framework/packet.py b/framework/packet.py\nindex cd478bef..f56bf178 100644\n--- a/framework/packet.py\n+++ b/framework/packet.py\n@@ -420,6 +420,7 @@ class Packet(object):\n         \"ARP\": {\"layers\": [\"ether\", \"arp\"], \"cfgload\": False},\n         \"LLDP\": {\"layers\": [\"ether\", \"lldp\"], \"cfgload\": False},\n         \"IP_RAW\": {\"layers\": [\"ether\", \"ipv4\", \"raw\"], \"cfgload\": True},\n+        \"IPv6_RAW\": {\"layers\": [\"ether\", \"ipv6\", \"raw\"], \"cfgload\": True},\n         \"TCP\": {\"layers\": [\"ether\", \"ipv4\", \"tcp\", \"raw\"], \"cfgload\": True},\n         \"UDP\": {\"layers\": [\"ether\", \"ipv4\", \"udp\", \"raw\"], \"cfgload\": True},\n         \"VLAN_UDP\": {\ndiff --git a/test_plans/multiprocess_test_plan.rst b/test_plans/multiprocess_test_plan.rst\nindex 872ea10a..e9b81c8e 100644\n--- a/test_plans/multiprocess_test_plan.rst\n+++ b/test_plans/multiprocess_test_plan.rst\n@@ -229,6 +229,7 @@ summarize all received packets and check whether it is bigger than or equal to t\n \n 2. send some packets,the number of packets is a random value between 20 and 256, packet type including IPV6/4,TCP/UDP,\n    refer to Random_Packet\n+   Note::I40e only rss for IP and IPv6 packets by default\n \n 3. stop all process and check output::\n \ndiff --git a/tests/TestSuite_multiprocess.py b/tests/TestSuite_multiprocess.py\nindex b666835a..7f164c70 100644\n--- a/tests/TestSuite_multiprocess.py\n+++ b/tests/TestSuite_multiprocess.py\n@@ -164,10 +164,17 @@ class TestMultiprocess(TestCase):\n \n     def random_packet(self, pkt_num):\n         pkt = Packet()\n-        pkt.generate_random_pkts(\n-            pktnum=pkt_num,\n-            dstmac=\"00:11:22:33:44:55\",\n-        )\n+        if self.kdriver == \"i40e\":\n+            pkt.generate_random_pkts(\n+                pktnum=pkt_num,\n+                dstmac=\"00:11:22:33:44:55\",\n+                random_type=[\"IP_RAW\",\"IPv6_RAW\"]\n+            )\n+        else:\n+            pkt.generate_random_pkts(\n+                pktnum=pkt_num,\n+                dstmac=\"00:11:22:33:44:55\",\n+            )\n         pkt.send_pkt(crb=self.tester, tx_port=self.tester_ifaces[0], count=1)\n \n     def specify_packet(self, que_num):\n",
    "prefixes": [
        "V1"
    ]
}