get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113550,
    "url": "http://patches.dpdk.org/api/patches/113550/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220629173553.6376-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": "<20220629173553.6376-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220629173553.6376-1-songx.jiale@intel.com",
    "date": "2022-06-29T17:35:53",
    "name": "[V3] tests/multiprocess: modify script to suport i40e driver",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "56a6e504dab217f9ea4e3cfa87c98d2b42619242",
    "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/20220629173553.6376-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 23826,
            "url": "http://patches.dpdk.org/api/series/23826/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=23826",
            "date": "2022-06-29T17:35:53",
            "name": "[V3] tests/multiprocess: modify script to suport i40e driver",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/23826/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/113550/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/113550/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 8B61BA034C;\n\tWed, 29 Jun 2022 11:12:19 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 73155400D7;\n\tWed, 29 Jun 2022 11:12:19 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id D7BC340042\n for <dts@dpdk.org>; Wed, 29 Jun 2022 11:12:17 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Jun 2022 02:12:16 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.94])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Jun 2022 02:12:15 -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=1656493938; x=1688029938;\n h=from:to:cc:subject:date:message-id;\n bh=JYPUUHpD0i5WsOQ5NK9vDxb/1td29jKw6TNIiYgYm/8=;\n b=E8QiRBBM3vTUDuF98DcPDYiVe6mlh+hmW9u0a1l2w7/T11oLIxQBt9eM\n /eCzu+7dysR1PP+m/GqQ7miW+ElK5M1uZM3WwShFC9TzWMH7kSqxFHZ17\n 9VXIyPwPTeiDTuaC9hnysUbvi6Q4r6N57KdL2kxor0Fc+pJkc+u7BqGBi\n xD6UpOaFWWwCiD0QE2MC4RhFgavks1hg3AVs/RH+0YDXK4xwS40TvOcbD\n rrAu5zl/e5uZo8r3Mqxk7ErDjWUPJqODDWPYxw+vx60aVyWbxivIPYLm6\n plKUEVWoK8gZFmVjaTynfg6xO6afwo3uAyFQIUDPKYVoFQvw/U6/o1hEg w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10392\"; a=\"270744107\"",
            "E=Sophos;i=\"5.92,231,1650956400\"; d=\"scan'208\";a=\"270744107\"",
            "E=Sophos;i=\"5.92,231,1650956400\"; d=\"scan'208\";a=\"917532784\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V3] tests/multiprocess: modify script to suport i40e\n driver",
        "Date": "Wed, 29 Jun 2022 17:35:53 +0000",
        "Message-Id": "<20220629173553.6376-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..da382a41 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": [
        "V3"
    ]
}