get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103211,
    "url": "http://patches.dpdk.org/api/patches/103211/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/1635488309-118246-4-git-send-email-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": "<1635488309-118246-4-git-send-email-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1635488309-118246-4-git-send-email-songx.jiale@intel.com",
    "date": "2021-10-29T06:18:27",
    "name": "[V1,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": "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/1635488309-118246-4-git-send-email-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 20116,
            "url": "http://patches.dpdk.org/api/series/20116/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=20116",
            "date": "2021-10-29T06:18:25",
            "name": "[V1,1/6] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20116/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/103211/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/103211/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 C7901A0C47;\n\tFri, 29 Oct 2021 08:32:57 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B3CE64113A;\n\tFri, 29 Oct 2021 08:32:57 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id E90B640688\n for <dts@dpdk.org>; Fri, 29 Oct 2021 08:32:55 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Oct 2021 23:18:42 -0700",
            "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 28 Oct 2021 23:18:41 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10151\"; a=\"211370581\"",
            "E=Sophos;i=\"5.87,191,1631602800\"; d=\"scan'208\";a=\"211370581\"",
            "E=Sophos;i=\"5.87,191,1631602800\"; d=\"scan'208\";a=\"487459748\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Date": "Fri, 29 Oct 2021 14:18:27 +0800",
        "Message-Id": "<1635488309-118246-4-git-send-email-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1635488309-118246-1-git-send-email-songx.jiale@intel.com>",
        "References": "<1635488309-118246-1-git-send-email-songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1 4/6] tests/flow_classify_softnic: update case code\n for dpdk code change",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "dpdk invalid port create rule echo change\n\ndpdk commit: 1179f05cc9a044541106981b0366f474043d7872\n\nSigned-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(-)\n mode change 100644 => 100755 test_plans/flow_classify_softnic_test_plan.rst\n mode change 100644 => 100755 tests/TestSuite_flow_classify_softnic.py",
    "diff": "diff --git a/test_plans/flow_classify_softnic_test_plan.rst b/test_plans/flow_classify_softnic_test_plan.rst\nold mode 100644\nnew mode 100755\nindex b18d32b6..2b46d0af\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\nold mode 100644\nnew mode 100755\nindex a2c15dcc..329e3d4c\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": [
        "V1",
        "4/6"
    ]
}