get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 123510,
    "url": "http://patches.dpdk.org/api/patches/123510/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230209145351.1140496-3-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": "<20230209145351.1140496-3-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230209145351.1140496-3-songx.jiale@intel.com",
    "date": "2023-02-09T14:53:49",
    "name": "[V1,2/4] tests/pmd_bonded_8023ad: modify the script to adapt to changes in dpdk",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "0b727db8c37e756d03a9a5eccd7d879da4bfacdf",
    "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/20230209145351.1140496-3-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 26909,
            "url": "http://patches.dpdk.org/api/series/26909/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=26909",
            "date": "2023-02-09T14:53:47",
            "name": "modify the script to adapt to changes in dpdk",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/26909/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/123510/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/123510/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 8825A41B98;\n\tThu,  9 Feb 2023 07:56:38 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8281C4161A;\n\tThu,  9 Feb 2023 07:56:38 +0100 (CET)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id C045C4282D\n for <dts@dpdk.org>; Thu,  9 Feb 2023 07:56:36 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Feb 2023 22:56:35 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.20])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Feb 2023 22:56:34 -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=1675925796; x=1707461796;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=DRIH+ugGBeX5jb2SQgwJ9DwutN7bbA2Cd4r+d27T/uw=;\n b=amJzTGx0Hfidm7VotjZLJ9AgvayzLODT4QrMBs+dPvJfq7eLq7v79dp0\n Neg9v1vxLvFuJdVDl5fHCMr8YMpFUYBYuLAPFX1CizxbEFNsfR8ViKqSv\n mUBMgTTpn/V29LI7CiLj1HOGS9UCPmlqMZluFYOQ1T8hYG9YGRxLPfpxo\n uclia/ulDVxgUr0NquObntKAmgmLfDgmMs5Yrodgl96GXb6nszaLQk7Nz\n 68TfKrMFbWBDjrl4CwvNJpQyJxDITqxXq+hv1I6rFQngRoafTRHecykwV\n EaeAjfhDKioi8ekRDh6aMsUtJgHbasmtGXCqRPQk5QezIm6SVKMLxn2Hj w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10615\"; a=\"392420770\"",
            "E=Sophos;i=\"5.97,281,1669104000\"; d=\"scan'208\";a=\"392420770\"",
            "E=McAfee;i=\"6500,9779,10615\"; a=\"810224094\"",
            "E=Sophos;i=\"5.97,281,1669104000\"; d=\"scan'208\";a=\"810224094\""
        ],
        "From": "Song Jiale <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Song Jiale <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1 2/4] tests/pmd_bonded_8023ad: modify the script to\n adapt to changes in dpdk",
        "Date": "Thu,  9 Feb 2023 14:53:49 +0000",
        "Message-Id": "<20230209145351.1140496-3-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230209145351.1140496-1-songx.jiale@intel.com>",
        "References": "<20230209145351.1140496-1-songx.jiale@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": "the display information of the binding port in dpdk-testpmd has changed.\nmodify the script to adapt to this change.\n\nAccording to dpdk commit f3b5f3d35c59e1(\"app/testpmd: use dump API to show bonding info\").\n\nSigned-off-by: Song Jiale <songx.jiale@intel.com>\n---\n tests/TestSuite_pmd_bonded_8023ad.py | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_pmd_bonded_8023ad.py b/tests/TestSuite_pmd_bonded_8023ad.py\nindex c1bf2759..1921a942 100644\n--- a/tests/TestSuite_pmd_bonded_8023ad.py\n+++ b/tests/TestSuite_pmd_bonded_8023ad.py\n@@ -362,7 +362,9 @@ class TestBonding8023AD(TestCase):\n         # create commandline option format\n         bonding_name = \"net_bonding0\"\n         slaves_pci = [\"slave=\" + pci for pci in slave_pcis]\n-        bonding_mode = \"mode={0}\".format(str(MODE_LACP))\n+        p = r\"\\w+\\((\\d+)\\)\"\n+        mode_id = int(re.match(p, str(MODE_LACP)).group(1))\n+        bonding_mode = \"mode={0}\".format(mode_id)\n         agg_config = \"agg_mode={0}\"\n         vdev_format = \",\".join([bonding_name] + slaves_pci + [bonding_mode, agg_config])\n         # command line option\n",
    "prefixes": [
        "V1",
        "2/4"
    ]
}