get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120320,
    "url": "http://patches.dpdk.org/api/patches/120320/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20221130035611.99205-3-ke1.xu@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": "<20221130035611.99205-3-ke1.xu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221130035611.99205-3-ke1.xu@intel.com",
    "date": "2022-11-30T03:56:11",
    "name": "[V1,2/2] tests/ice_limit_value_test: update test plan to support represented port action from deprecated vf action",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5971f174f2ddfdb8e1e17035f7a503eb1bd1cfee",
    "submitter": {
        "id": 2810,
        "url": "http://patches.dpdk.org/api/people/2810/?format=api",
        "name": "Ke Xu",
        "email": "ke1.xu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20221130035611.99205-3-ke1.xu@intel.com/mbox/",
    "series": [
        {
            "id": 25939,
            "url": "http://patches.dpdk.org/api/series/25939/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=25939",
            "date": "2022-11-30T03:56:10",
            "name": "update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_limit_value_test",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/25939/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/120320/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/120320/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 3437EA00C5;\n\tWed, 30 Nov 2022 04:57:25 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2DF2540A79;\n\tWed, 30 Nov 2022 04:57:25 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 50F464014F\n for <dts@dpdk.org>; Wed, 30 Nov 2022 04:57:24 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Nov 2022 19:57:23 -0800",
            "from dpdk-xuke-lab.sh.intel.com ([10.67.114.198])\n by fmsmga005.fm.intel.com with ESMTP; 29 Nov 2022 19:57:22 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1669780644; x=1701316644;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=zoMAmSgwWt0garbCukW5NNv7S+P269XNDNO9sZoUexA=;\n b=nm7dblQAO/qKqBBOk+bh3hLGt3UwHZHugOfB2I6ar3OEFm4iOLLODUzd\n O4ZG5c1jIBEmFt8sRNC8juKLulZx02+dl6/0fi2LcxGDYXbryWvjBTXSI\n qsGQ2LFeUfOw9k/IPAtZeIT8wwUlJPBGE0TauO7WaVv3WFp5P6M6Jf7Cy\n KVOMS23NxmFGlO+qd6DCbWVEag8HmY5Q7qrW9kjU2segylGYK3txkcIxA\n jUrnr1rlNdiH5zamMjjATqXwzJgZsrA6U9KC7Yyvj4WjVxq9btjn7gSxL\n mRyQ+gFTD6ZOEC34WeYh4yy6b2c0Be25qGqUoZmzPsTmIpUu5SxaGfAQb w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10546\"; a=\"298665834\"",
            "E=Sophos;i=\"5.96,205,1665471600\"; d=\"scan'208\";a=\"298665834\"",
            "E=McAfee;i=\"6500,9779,10546\"; a=\"972945019\"",
            "E=Sophos;i=\"5.96,205,1665471600\"; d=\"scan'208\";a=\"972945019\""
        ],
        "X-ExtLoop1": "1",
        "From": "Ke Xu <ke1.xu@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "lijuan.tu@intel.com, Ke Xu <ke1.xu@intel.com>,\n Jin Ling <jin.ling@intel.com>",
        "Subject": "[DTS][PATCH V1 2/2] tests/ice_limit_value_test: update test plan to\n support represented port action from deprecated vf action",
        "Date": "Wed, 30 Nov 2022 11:56:11 +0800",
        "Message-Id": "<20221130035611.99205-3-ke1.xu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221130035611.99205-1-ke1.xu@intel.com>",
        "References": "<20221130035611.99205-1-ke1.xu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "A new API is introduced to replace the VF actions in DPDK 22.11. To support This\n new API, several modifications are made.\n\nTestpmd args are modified to support appyling representors for the new API. Rules\n are modified for the old API being deprecated, changing to the new API. Ports id\n are modified corresponding to the port representors and modified API.\n\nSigned-off-by: Jin Ling <jin.ling@intel.com>\nSigned-off-by: Ke Xu <ke1.xu@intel.com>\n---\n tests/TestSuite_ice_limit_value_test.py | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_ice_limit_value_test.py b/tests/TestSuite_ice_limit_value_test.py\nindex b75cea84..06160c0a 100644\n--- a/tests/TestSuite_ice_limit_value_test.py\n+++ b/tests/TestSuite_ice_limit_value_test.py\n@@ -23,7 +23,7 @@ tv_max_rule_number = {\n         \"scapy_str\": [],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1},\n+            \"param\": {\"expect_port\": 2},\n         },\n         \"expect_results\": {\"expect_pkts\": 32500},\n     },\n@@ -33,7 +33,7 @@ tv_max_rule_number = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1},\n+            \"param\": {\"expect_port\": 2},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -1166,7 +1166,7 @@ class TestICELimitValue(TestCase):\n             for j in range(0, 255):\n                 if not rule_count > 32500:\n                     flows.write(\n-                        \"flow create 0 ingress pattern eth / ipv4 src is 192.168.%d.%d / end actions vf id 1 / end \\n\"\n+                        \"flow create 0 ingress pattern eth / ipv4 src is 192.168.%d.%d / end actions represented_port ethdev_port_id 1 / end \\n\"\n                         % (i, j)\n                     )\n                     matched_scapy_str = (\n@@ -1188,7 +1188,7 @@ class TestICELimitValue(TestCase):\n         all_eal_param = self.dut.create_eal_parameters(\n             cores=\"1S/4C/1T\",\n             ports=[vf0_pci, vf1_pci],\n-            port_options={vf0_pci: \"cap=dcf\"},\n+            port_options={vf0_pci: \"cap=dcf,representor=vf[1]\"},\n         )\n         command = (\n             self.path\n@@ -1197,7 +1197,7 @@ class TestICELimitValue(TestCase):\n         )\n         out = self.dut.send_expect(command, \"testpmd> \", 360)\n         self.testpmd_status = \"running\"\n-        self.dut.send_expect(\"set portlist 1\", \"testpmd> \", 15)\n+        self.dut.send_expect(\"set portlist 2\", \"testpmd> \", 15)\n         self.dut.send_expect(\"set fwd rxonly\", \"testpmd> \", 15)\n         # check the rule list with 32500 rules\n         rule_list_num = list(range(0, 32500))\n@@ -1212,7 +1212,7 @@ class TestICELimitValue(TestCase):\n         for i in range(m, 255):\n             for j in range(t, 255):\n                 rule = (\n-                    \"flow create 0 ingress pattern eth / ipv4 src is 192.168.%d.%d / end actions vf id 1 / end \\n\"\n+                    \"flow create 0 ingress pattern eth / ipv4 src is 192.168.%d.%d / end actions represented_port ethdev_port_id 1 / end \\n\"\n                     % (i, j)\n                 )\n                 matched_packet = (\n",
    "prefixes": [
        "V1",
        "2/2"
    ]
}