get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104155,
    "url": "https://patches.dpdk.org/api/patches/104155/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/1636599925-153067-4-git-send-email-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": "<1636599925-153067-4-git-send-email-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1636599925-153067-4-git-send-email-songx.jiale@intel.com",
    "date": "2021-11-11T03:05:23",
    "name": "[V3,4/6] tests/flow_classify_softnic: update case code for dpdk code change",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "2c1ad05e565e36f9cc4a754b797b551a25547f93",
    "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/1636599925-153067-4-git-send-email-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 20475,
            "url": "https://patches.dpdk.org/api/series/20475/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=20475",
            "date": "2021-11-11T03:05:20",
            "name": "[V3,1/6] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/20475/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/104155/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/104155/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 BAAA0A0C4B;\n\tThu, 11 Nov 2021 04:05:46 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A764641142;\n\tThu, 11 Nov 2021 04:05:46 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 7DF7540DF5\n for <dts@dpdk.org>; Thu, 11 Nov 2021 04:05:45 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2021 19:05:45 -0800",
            "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2021 19:05:43 -0800"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10164\"; a=\"293663972\"",
            "E=Sophos;i=\"5.87,225,1631602800\"; d=\"scan'208\";a=\"293663972\"",
            "E=Sophos;i=\"5.87,225,1631602800\"; d=\"scan'208\";a=\"492375194\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V3 4/6] tests/flow_classify_softnic: update case code\n for dpdk code change",
        "Date": "Thu, 11 Nov 2021 11:05:23 +0800",
        "Message-Id": "<1636599925-153067-4-git-send-email-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1636599925-153067-1-git-send-email-songx.jiale@intel.com>",
        "References": "<1636599925-153067-1-git-send-email-songx.jiale@intel.com>",
        "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": "Signed-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/flow_classify_softnic_test_plan.rst | 8 ++++----\n tests/TestSuite_flow_classify_softnic.py       | 8 ++++----\n 2 files changed, 8 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/test_plans/flow_classify_softnic_test_plan.rst b/test_plans/flow_classify_softnic_test_plan.rst\nindex b18d32b6..2b46d0af 100644\n--- a/test_plans/flow_classify_softnic_test_plan.rst\n+++ b/test_plans/flow_classify_softnic_test_plan.rst\n@@ -562,7 +562,7 @@ a) Map the table a::\n     dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 \\\n     / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end\n \n-   Error reported, rule item is inconsistent with the table match.\n+   Invalid port 4, rule item is inconsistent with the table match.\n    Table with hask key mask for src addr, but the rule added is for dst addr.\n \n b) Map the table b::\n@@ -571,7 +571,7 @@ b) Map the table b::\n     dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 \\\n     / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end\n \n-   Error reported, rule item is inconsistent with the table match.\n+   Invalid port 4, rule item is inconsistent with the table match.\n    Table with hask key mask for dst addr 255.255.255.0, but the rule added is 255.255.255.255.\n \n Test Case: ipv6 rule item inconsistent with table match format\n@@ -605,7 +605,7 @@ a) Map the table a::\n     src spec 2001::1 dst spec 0::1 proto spec 17 / udp src mask 0 dst mask 65535 \\\n     src spec 31 dst spec 41 / end actions queue index 3 / end\n \n-   Error reported, rule item is inconsistent with the table match.\n+   Invalid port 4, rule item is inconsistent with the table match.\n    Table with hask key mask for 5 tuple, but the rule added mask udp src with 0.\n \n b) Map the table b::\n@@ -615,7 +615,7 @@ b) Map the table b::\n     ABCD:EF01:2345:6789:ABCD:EF01:2345:5789 dst spec 0:0:0:0:0:0:0:0 proto spec 17 \\\n     / udp src mask 0 dst mask 0 src spec 0 dst spec 0 / end actions queue index 3 / end\n \n-   Error reported, rule item is inconsistent with the table match.\n+   Invalid port 4, rule item is inconsistent with the table match.\n    Table with hask key mask for dst addr, but the rule added is for src addr.\n \n Test Case: ipv4 hash table rss action\ndiff --git a/tests/TestSuite_flow_classify_softnic.py b/tests/TestSuite_flow_classify_softnic.py\nindex a2c15dcc..329e3d4c 100644\n--- a/tests/TestSuite_flow_classify_softnic.py\n+++ b/tests/TestSuite_flow_classify_softnic.py\n@@ -844,13 +844,13 @@ class TestFlowClassifySoftnic(TestCase):\n         self.start_testpmd(filename, self.port_num)\n \n         # create rule\n-        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end\", \"error\", 60)\n+        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end\", \"Invalid port 4\", 60)\n         self.dut.send_expect(\"quit\", \"# \", 60)\n \n         cmd = \"pipeline RX table match hash ext key 8 mask FFFFFF0000000000 offset 286 buckets 16K size 64K action AP0\"\n         self.set_table(cmd, filename)\n         self.start_testpmd(filename, self.port_num)\n-        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end\", \"error\", 60)\n+        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end\", \"Invalid port 4\", 60)\n         self.dut.send_expect(\"quit\", \"# \", 60)\n \n         # ipv6\n@@ -858,13 +858,13 @@ class TestFlowClassifySoftnic(TestCase):\n         cmd = \"pipeline RX table match hash ext key 64 mask 0000FF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000 offset 274 buckets 16K size 64K action AP0\"\n         self.set_table(cmd, filename)\n         self.start_testpmd(filename, self.port_num)\n-        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv6 proto mask 255 src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff src spec 2001::1 dst spec 0::1 proto spec 17 / udp src mask 0 dst mask 65535 src spec 31 dst spec 41 / end actions queue index 3 / end\", \"error\", 60)\n+        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv6 proto mask 255 src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff src spec 2001::1 dst spec 0::1 proto spec 17 / udp src mask 0 dst mask 65535 src spec 31 dst spec 41 / end actions queue index 3 / end\", \"Invalid port 4\", 60)\n         self.dut.send_expect(\"quit\", \"# \", 60)\n \n         cmd = \"pipeline RX table match hash ext key 16 mask FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF offset 294 buckets 16K size 64K action AP0\"\n         self.set_table(cmd, filename)\n         self.start_testpmd(filename, self.port_num)\n-        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv6 proto mask 0  src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask 0:0:0:0:0:0:0:0 src spec ABCD:EF01:2345:6789:ABCD:EF01:2345:5789 dst spec 0:0:0:0:0:0:0:0 proto spec 17 / udp src mask 0 dst mask 0 src spec 0 dst spec 0 / end actions queue index 3 / end\", \"error\", 60)\n+        self.dut.send_expect(\"flow create 4 group 0 ingress pattern eth / ipv6 proto mask 0  src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask 0:0:0:0:0:0:0:0 src spec ABCD:EF01:2345:6789:ABCD:EF01:2345:5789 dst spec 0:0:0:0:0:0:0:0 proto spec 17 / udp src mask 0 dst mask 0 src spec 0 dst spec 0 / end actions queue index 3 / end\", \"Invalid port 4\", 60)\n         self.dut.send_expect(\"quit\", \"# \", 60)\n \n     def test_ipv4_hash_rss_action(self):\n",
    "prefixes": [
        "V3",
        "4/6"
    ]
}