get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113228,
    "url": "http://patches.dpdk.org/api/patches/113228/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220622171114.25002-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": "<20220622171114.25002-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220622171114.25002-1-songx.jiale@intel.com",
    "date": "2022-06-22T17:11:14",
    "name": "[V1] tests/ice_limit_value_test: add mark for fdir rule",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f9191e357fcb7268cc84d1f8034d0d0e1d13e05f",
    "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/20220622171114.25002-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 23685,
            "url": "http://patches.dpdk.org/api/series/23685/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=23685",
            "date": "2022-06-22T17:11:14",
            "name": "[V1] tests/ice_limit_value_test: add mark for fdir rule",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/23685/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/113228/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/113228/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 1907EA04FD;\n\tWed, 22 Jun 2022 10:46:42 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 13AE340A84;\n\tWed, 22 Jun 2022 10:46:42 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id CBB2440689\n for <dts@dpdk.org>; Wed, 22 Jun 2022 10:46:39 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Jun 2022 01:46:39 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.94])\n by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Jun 2022 01:46:37 -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=1655887600; x=1687423600;\n h=from:to:cc:subject:date:message-id;\n bh=eE0OvQMKVgyfLs8UpdEywiXND/Ebjztar8UezQzw9FM=;\n b=HQZ8eAwdBw/VzNxf9CNvfLDP8pGHvj0nLNwWlvOng2zk4Nl7VmmZKwoE\n Ga6OHgD4PBQNJIbezPa206j1IfyujqE2ButfA+s+oi2YRR0icoCAgaseW\n WTUPS7tqLpwqj/oavTi/3R6pQKPLbsb+IQWu6Ef1YCcKoZOFjBjotIEZo\n 4bkL2Mts+AV48pBVD7b0KNMgpR/gYdBOkKPZQ4ubsVHfkTZWc81gz3M7L\n gOgg+CaGEStGjekYwsEiUXsapSI/I9kwFE4sXyuSSAbxa9KxNQeqLQJ+R\n kUMptW0S/gc91f/iCxoJRG5FLdnFDVpmZlp3PJAEev3Nlxmmtyhba25hN g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10385\"; a=\"344348461\"",
            "E=Sophos;i=\"5.92,212,1650956400\"; d=\"scan'208\";a=\"344348461\"",
            "E=Sophos;i=\"5.92,212,1650956400\"; d=\"scan'208\";a=\"592081065\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1] tests/ice_limit_value_test: add mark for fdir rule",
        "Date": "Wed, 22 Jun 2022 17:11:14 +0000",
        "Message-Id": "<20220622171114.25002-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.fdir rule need add mark id\n2.synchronize packages in testplan and case\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/ice_limit_value_test_test_plan.rst |  8 ++++----\n tests/TestSuite_ice_limit_value_test.py       | 14 ++++++++++----\n 2 files changed, 14 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/test_plans/ice_limit_value_test_test_plan.rst b/test_plans/ice_limit_value_test_test_plan.rst\nindex ff859038..70311efd 100644\n--- a/test_plans/ice_limit_value_test_test_plan.rst\n+++ b/test_plans/ice_limit_value_test_test_plan.rst\n@@ -350,8 +350,8 @@ Subcase 2: add/delete rules on two VFs\n \n 1. create a rule on each vf::\n \n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / end\n-    flow create 1 ingress pattern eth / ipv4 src is 192.168.0.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / mark id 1 / end\n+    flow create 1 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / mark id 2 / end\n \n    return the message::\n \n@@ -376,8 +376,8 @@ Subcase 2: add/delete rules on two VFs\n \n 4. create the rule on each vf one more time, check the rules listed::\n \n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / end\n-    flow create 1 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / mark id 1 / end\n+    flow create 1 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / mark id 2 / end\n \n 5. send matched packet::\n \ndiff --git a/tests/TestSuite_ice_limit_value_test.py b/tests/TestSuite_ice_limit_value_test.py\nindex 180c8c6d..b75cea84 100644\n--- a/tests/TestSuite_ice_limit_value_test.py\n+++ b/tests/TestSuite_ice_limit_value_test.py\n@@ -1015,8 +1015,8 @@ class TestICELimitValue(TestCase):\n         \"\"\"\n         dut_file_dir = \"/tmp/\"\n         rules = [\n-            \"flow create 0 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / end\",\n-            \"flow create 1 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / end\",\n+            \"flow create 0 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / mark id 1 / end\",\n+            \"flow create 1 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 5 / mark id 2 / end\",\n         ]\n         pkts = [\n             'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.56.0\",dst=\"192.1.0.0\", tos=4)/TCP(sport=22,dport=23)/Raw(\"x\" * 80)',\n@@ -1057,11 +1057,17 @@ class TestICELimitValue(TestCase):\n         self.create_fdir_rule(rules, check_stats=True)\n         out_0 = self.send_pkts_getouput(pkts=pkts[0], pf_id=0)\n         rfc.check_iavf_fdir_mark(\n-            out_0, pkt_num=1, check_param={\"port_id\": 0, \"queue\": 5}, stats=True\n+            out_0,\n+            pkt_num=1,\n+            check_param={\"port_id\": 0, \"mark_id\": 1, \"queue\": 5},\n+            stats=True,\n         )\n         out_1 = self.send_pkts_getouput(pkts=pkts[1], pf_id=0)\n         rfc.check_iavf_fdir_mark(\n-            out_1, pkt_num=1, check_param={\"port_id\": 1, \"queue\": 5}, stats=True\n+            out_1,\n+            pkt_num=1,\n+            check_param={\"port_id\": 1, \"mark_id\": 2, \"queue\": 5},\n+            stats=True,\n         )\n \n     def launch_testpmd_with_mark(self, rxq=64, txq=64):\n",
    "prefixes": [
        "V1"
    ]
}