get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 100908,
    "url": "https://patches.dpdk.org/api/patches/100908/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/1633767105-231037-2-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": "<1633767105-231037-2-git-send-email-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1633767105-231037-2-git-send-email-songx.jiale@intel.com",
    "date": "2021-10-09T08:11:45",
    "name": "[V1,2/2] tests/cvl_switch_filter_pppoe: delete the placeholder fdir rule",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "2ffdc6f29cb75ece20f0278e2eada670af32c6f8",
    "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/1633767105-231037-2-git-send-email-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 19480,
            "url": "https://patches.dpdk.org/api/series/19480/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=19480",
            "date": "2021-10-09T08:11:44",
            "name": "[V1,1/2] tests/cvl_switch_filter: delete the placeholder fdir rule",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/19480/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/100908/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/100908/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 D72EEA0C43;\n\tSat,  9 Oct 2021 09:58:12 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6C6C74014F;\n\tSat,  9 Oct 2021 09:58:12 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id BA6864003C\n for <dts@dpdk.org>; Sat,  9 Oct 2021 09:58:10 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Oct 2021 00:58:10 -0700",
            "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Oct 2021 00:58:08 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10131\"; a=\"224053386\"",
            "E=Sophos;i=\"5.85,360,1624345200\"; d=\"scan'208\";a=\"224053386\"",
            "E=Sophos;i=\"5.85,360,1624345200\"; d=\"scan'208\";a=\"489767971\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Date": "Sat,  9 Oct 2021 16:11:45 +0800",
        "Message-Id": "<1633767105-231037-2-git-send-email-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1633767105-231037-1-git-send-email-songx.jiale@intel.com>",
        "References": "<1633767105-231037-1-git-send-email-songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1 2/2] tests/cvl_switch_filter_pppoe: delete the\n placeholder fdir rule",
        "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": "in non-pipeline mode, ``priority`` is ignored, a flow rule can be created as a flow director rule \nor a switch rule depends on its pattern/action. if a rule is supported by switch or fdir at the same\ntime, it will be created in the switch table first. we no longer need to populate the fdir table first\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/cvl_switch_filter_pppoe_test_plan.rst | 7 ++-----\n tests/TestSuite_cvl_switch_filter_pppoe.py       | 5 +----\n 2 files changed, 3 insertions(+), 9 deletions(-)\n mode change 100644 => 100755 test_plans/cvl_switch_filter_pppoe_test_plan.rst\n mode change 100644 => 100755 tests/TestSuite_cvl_switch_filter_pppoe.py",
    "diff": "diff --git a/test_plans/cvl_switch_filter_pppoe_test_plan.rst b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\nold mode 100644\nnew mode 100755\nindex f63965b..3a5c287\n--- a/test_plans/cvl_switch_filter_pppoe_test_plan.rst\n+++ b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\n@@ -51,10 +51,7 @@ for device's flow director engine.\n In non-pipeline mode, ``priority`` is ignored, a flow rule can be created as a flow director rule or a\n switch rule depends on its pattern/action. If a rule is supported by switch or fdir at the same time, it\n will be created in the fdir table first. Therefore, to test switch filter in non-pipeline mode, we need to\n-fill the fdir table first, and then the rules are created in the switch filter table. The capacity of fdir\n-table is 16K, of which 14K is shared by all pfs and vfs, and the remaining 2K is gurantee for pfs. If 4*25G\n-NIC, the gurantee for each pf is 512. If 2*100G NIC, the gurantee of each pf is 1024. so 1 pf can create at\n-most 14848 rules on 4 ports card and 15360 rules on 2 ports card.\n+fill the switch table first.\n \n Pattern and input set\n ---------------------\n@@ -203,7 +200,7 @@ Prerequisites\n \n 6. Launch dpdk with the following arguments in non-pipeline mode::\n \n-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 --log-level=\"ice,8\" -- -i --txq=16 --rxq=16 --cmdline-file=testpmd_fdir_rules\n+     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 --log-level=\"ice,8\" -- -i --txq=16 --rxq=16\n      testpmd> port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd\n      testpmd> set fwd rxonly\n      testpmd> set verbose 1\ndiff --git a/tests/TestSuite_cvl_switch_filter_pppoe.py b/tests/TestSuite_cvl_switch_filter_pppoe.py\nold mode 100644\nnew mode 100755\nindex a33bb2f..28cbc99\n--- a/tests/TestSuite_cvl_switch_filter_pppoe.py\n+++ b/tests/TestSuite_cvl_switch_filter_pppoe.py\n@@ -2297,7 +2297,7 @@ class CVLSwitchFilterPPPOETest(TestCase):\n         \"\"\"\n         #Prepare testpmd EAL and parameters\n         all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0])\n-        command = self.path + all_eal_param + \" --log-level=\\\"ice,8\\\" -- -i --rxq=16 --txq=16 --cmdline-file=%s\" % self.fdir_file\n+        command = self.path + all_eal_param + \" --log-level=\\\"ice,8\\\" -- -i --rxq=16 --txq=16\"\n         # command = \"./%s/app/testpmd %s --log-level=\\\"ice,8\\\" -- -i %s\" % (self.dut.target, all_eal_param, \"--rxq=16 --txq=16\")\n         return command\n \n@@ -2474,9 +2474,6 @@ class CVLSwitchFilterPPPOETest(TestCase):\n             out_lines = out.splitlines()\n             res = filter(bool, map(p_spec.match, out_lines))\n             result = [i.group(1) for i in res]\n-            if is_non_pipeline:\n-                #remove 15360 fdir rules id\n-                del result[:self.fdir_rule_number]\n             if is_need_rss_rule:\n                 #remove rss rule id\n                 del result[0]\n",
    "prefixes": [
        "V1",
        "2/2"
    ]
}