get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 129719,
    "url": "http://patchwork.dpdk.org/api/patches/129719/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20230728143304.85230-1-songx.jiale@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.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": "<20230728143304.85230-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230728143304.85230-1-songx.jiale@intel.com",
    "date": "2023-07-28T14:33:04",
    "name": "[V2] tests/pmd_bonded: optimize scripts",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e2cfab48a96d41972ea9e7cf67ce20d51f11b77f",
    "submitter": {
        "id": 2352,
        "url": "http://patchwork.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20230728143304.85230-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 29027,
            "url": "http://patchwork.dpdk.org/api/series/29027/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=29027",
            "date": "2023-07-28T14:33:04",
            "name": "[V2] tests/pmd_bonded: optimize scripts",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/29027/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/129719/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/129719/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 B120042F67;\n\tFri, 28 Jul 2023 08:20:43 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8918E40685;\n\tFri, 28 Jul 2023 08:20:43 +0200 (CEST)",
            "from mgamail.intel.com (unknown [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id BDEC94021E\n for <dts@dpdk.org>; Fri, 28 Jul 2023 08:20:41 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Jul 2023 23:20:36 -0700",
            "from unknown (HELO dpdk.sh.intel.com) ([10.239.252.241])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Jul 2023 23:20:35 -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=1690525242; x=1722061242;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=PzfQZamY1StD4nYyt+g6xv7rWj2aKLeods9fw/ich9Q=;\n b=oB0FtJKXwoiIKGPDlo3leYVaP3uCeAabrqTaPvObeSnKW9eMOVJzdrgK\n XYN9KsBzmCddNsTew5fE+Dx8mEWS2w3+ze/dZ2VTCBlwvPez0aiLXqtGg\n gO2jx5DDl8hKOKZvLJVdUtSrFeV7yeZnE/YGaYlxv30Vu5LNvZTuAUJov\n LAT4dEhlnl46LQE+wB1INsOf6I4rwiqq8RKLpb2IBba3zpyBBV/0gPA+S\n 3KOFJVQ5e4QHlMTuhtijvsMRpDlWqm8B8iNFhew7d70zJFfOxm+7ZzHID\n J/oe1Brdk5EhOAuBrl9dtx1EM2QZnY4ujzxTsiRUrjqni8FNu2ceq4znw Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10784\"; a=\"434801298\"",
            "E=Sophos;i=\"6.01,236,1684825200\"; d=\"scan'208\";a=\"434801298\"",
            "E=McAfee;i=\"6600,9927,10784\"; a=\"704397754\"",
            "E=Sophos;i=\"6.01,236,1684825200\"; d=\"scan'208\";a=\"704397754\""
        ],
        "X-ExtLoop1": "1",
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V2] tests/pmd_bonded: optimize scripts",
        "Date": "Fri, 28 Jul 2023 22:33:04 +0800",
        "Message-Id": "<20230728143304.85230-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": "in the \"TLB (5)\" binding mode, the current primary slave port will\nsynchronize the MAC address of the binding port. therefore, modify the\nscript to get the current primary slave port latest mac address.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n tests/TestSuite_pmd_bonded.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_pmd_bonded.py b/tests/TestSuite_pmd_bonded.py\nindex f957d4e7..d0157cdb 100644\n--- a/tests/TestSuite_pmd_bonded.py\n+++ b/tests/TestSuite_pmd_bonded.py\n@@ -111,11 +111,11 @@ class TestPmdBonded(TestCase):\n             dut_dest_port = dest_port\n \n         if not ether_ip.get(\"ether\"):\n-            ether[\"dest_mac\"] = self.dut.get_mac_address(dut_dest_port)\n+            ether[\"dest_mac\"] = self.get_port_mac(dut_dest_port)\n             ether[\"src_mac\"] = \"52:00:00:00:00:00\"\n         else:\n             if not ether_ip[\"ether\"].get(\"dest_mac\"):\n-                ether[\"dest_mac\"] = self.dut.get_mac_address(dut_dest_port)\n+                ether[\"dest_mac\"] = self.get_port_mac(dut_dest_port)\n             else:\n                 ether[\"dest_mac\"] = ether_ip[\"ether\"][\"dest_mac\"]\n             if not ether_ip[\"ether\"].get(\"src_mac\"):\n",
    "prefixes": [
        "V2"
    ]
}