get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 111234,
    "url": "https://patches.dpdk.org/api/patches/111234/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220517074859.1715527-1-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": "<20220517074859.1715527-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220517074859.1715527-1-songx.jiale@intel.com",
    "date": "2022-05-17T07:48:59",
    "name": "[V2] tests/l3fwd_func: fix script",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "73de539440ff79879030919b80e7d03dc770e18a",
    "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/20220517074859.1715527-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 22968,
            "url": "https://patches.dpdk.org/api/series/22968/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=22968",
            "date": "2022-05-17T07:48:59",
            "name": "[V2] tests/l3fwd_func: fix script",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/22968/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/111234/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/111234/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 AFB21A04FD;\n\tTue, 17 May 2022 09:49:38 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 85E7F40042;\n\tTue, 17 May 2022 09:49:38 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id C15A440041\n for <dts@dpdk.org>; Tue, 17 May 2022 09:49:36 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 May 2022 00:49:04 -0700",
            "from unknown (HELO daily-regression-131.intel.com)\n ([10.239.251.131])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 May 2022 00:49:03 -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=1652773777; x=1684309777;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=MGvwPxnV8fP8mVS65Ay+rexY30pTjRgI9408QWyobE4=;\n b=U6i6Kn+yik/yGCGA9KjzURg6gJK73RoUAIEahvs8IY3h3liIH4cafvOl\n vBxHyVinGkbj+1ir11wbhlo/ZNcpWgdw/4pWiPWu26c64AH0LqQjfm/rA\n 852nRkwvyWh4Akl7PxUmPbrUxVtcycCATt26VgQ6TU3CRw4OX0RCQ33e1\n SS+ih9XhsA/s/XhP294A1wCGe8GYYXdB/Q27mE0OdefQlD0EtM8rD5JAX\n V+HKWIrksvtK+QjJlC/5cwtMdxqH0tMuFru/pXm2OjoWTWNg698Bfq8JS\n jBjjUfRB7p+Vf9KY9cCjIENKOsmKkAHZD8TSuA9ViLywAukoUAKRfZlgF Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10349\"; a=\"250995602\"",
            "E=Sophos;i=\"5.91,232,1647327600\"; d=\"scan'208\";a=\"250995602\"",
            "E=Sophos;i=\"5.91,232,1647327600\"; d=\"scan'208\";a=\"544783687\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V2] tests/l3fwd_func: fix script",
        "Date": "Tue, 17 May 2022 15:48:59 +0800",
        "Message-Id": "<20220517074859.1715527-1-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "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": "fix 2 issue:\n  1.When DUT and tester ports are cross connected, the information of interconnection \n    ports cannot be obtained correctly.\n  2.tcpdump timeout, increase the '-n' to skip the tcpdump reverse domain name \n    resolution operation.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n tests/TestSuite_l3fwd_func.py | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_l3fwd_func.py b/tests/TestSuite_l3fwd_func.py\nindex 7340c09d..c2a3988b 100644\n--- a/tests/TestSuite_l3fwd_func.py\n+++ b/tests/TestSuite_l3fwd_func.py\n@@ -49,7 +49,8 @@ class TestL3fwdFunc(TestCase):\n         self.app_path = self.dut.build_dpdk_apps(\"examples/l3fwd\")\n         self.pkt = Packet()\n         self.dport_info0 = self.dut.ports_info[self.dut_ports[0]]\n-        self.tport_info0 = self.tester.ports_info[self.dut_ports[0]]\n+        tport = self.tester.get_local_port(self.dut_ports[0])\n+        self.tport_info0 = self.tester.ports_info[tport]\n         self.tport_intf0 = self.tport_info0[\"intf\"]\n         # judgment is added to avoid errors caused by the absence of port 1\n         if len(self.dut_ports) >= 2:\n@@ -132,7 +133,7 @@ class TestL3fwdFunc(TestCase):\n         :return:\n         \"\"\"\n         out = self.tester.send_expect(\n-            \"tcpdump -r /tmp/tester/sniff_%s.pcap\" % (self.tport_intf0),\n+            \"tcpdump -n -r /tmp/tester/sniff_%s.pcap\" % (self.tport_intf0),\n             \"# \",\n             timeout=30,\n         )\n",
    "prefixes": [
        "V2"
    ]
}