get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84291,
    "url": "https://patches.dpdk.org/api/patches/84291/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20201118060114.14553-3-haiyangx.zhao@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": "<20201118060114.14553-3-haiyangx.zhao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201118060114.14553-3-haiyangx.zhao@intel.com",
    "date": "2020-11-18T06:01:14",
    "name": "[V1,2/2] framework/dut: optmize code when setting eal param for rx mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c6afd51de11de54a7a44d07782d87eb2187617da",
    "submitter": {
        "id": 1978,
        "url": "https://patches.dpdk.org/api/people/1978/?format=api",
        "name": "Zhao, HaiyangX",
        "email": "haiyangx.zhao@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20201118060114.14553-3-haiyangx.zhao@intel.com/mbox/",
    "series": [
        {
            "id": 13939,
            "url": "https://patches.dpdk.org/api/series/13939/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=13939",
            "date": "2020-11-18T06:01:12",
            "name": "framework: fix meson compile failed when set rx mode",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/13939/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/84291/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/84291/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4FB73A04E7;\n\tWed, 18 Nov 2020 07:07:08 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 3BFBDC8B0;\n\tWed, 18 Nov 2020 07:07:07 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id E2D875946\n for <dts@dpdk.org>; Wed, 18 Nov 2020 07:07:04 +0100 (CET)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Nov 2020 22:07:02 -0800",
            "from unknown (HELO localhost.localdomain) ([10.240.183.57])\n by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Nov 2020 22:07:01 -0800"
        ],
        "IronPort-SDR": [
            "\n e3Mh1NPO5INmzKmOKCK3KozYBVVdLviJs2yaQZqIeX+1fdLNTjSmqu579tN2yHsQraOGYwhZrS\n 7o4JC147CP4w==",
            "\n 4YaO5t8wGe5txcJ33QjblLeINXyAai2qUnHSWW9lDLovyEsnkf3rhwbiUJVz7UiHVeHDiwq6Q2\n eU7ZhyKd9Qfw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9808\"; a=\"150340402\"",
            "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"150340402\"",
            "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"476192224\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "From": "Haiyang Zhao <haiyangx.zhao@intel.com>",
        "To": "dts@dpdk.org,\n\tlijuan.tu@intel.com",
        "Cc": "Haiyang Zhao <haiyangx.zhao@intel.com>",
        "Date": "Wed, 18 Nov 2020 14:01:14 +0800",
        "Message-Id": "<20201118060114.14553-3-haiyangx.zhao@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20201118060114.14553-1-haiyangx.zhao@intel.com>",
        "References": "<20201118060114.14553-1-haiyangx.zhao@intel.com>",
        "Subject": "[dts] [PATCH V1 2/2] framework/dut: optmize code when setting eal\n\tparam for rx mode",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "Dynamically adding rx mode eal parameter is only supported with meson\nbuild, so add a jugement to fix the potential bug.\n\nSigned-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>\n---\n framework/dut.py | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/framework/dut.py b/framework/dut.py\nindex d6862e8..2863848 100644\n--- a/framework/dut.py\n+++ b/framework/dut.py\n@@ -230,7 +230,9 @@ class Dut(Crb):\n         if use_shared_lib == 'true' and shared_lib_path and 'Virt' not in str(self):\n             eal_str = eal_str + ' -d {} '.format(shared_lib_path)\n         rx_mode = settings.load_global_setting(settings.DPDK_RXMODE_SETTING)\n-        if 'other_eal_param' not in config or 'force-max-simd-bitwidth' not in config['other_eal_param']:\n+        build_type = settings.load_global_setting(settings.HOST_BUILD_TYPE_SETTING)\n+        if build_type == 'meson' and ('other_eal_param' not in config or\n+                                      'force-max-simd-bitwidth' not in config['other_eal_param']):\n             if rx_mode == 'novector':\n                 eal_str = eal_str + ' --force-max-simd-bitwidth=64 '\n             elif rx_mode == 'sse':\n",
    "prefixes": [
        "V1",
        "2/2"
    ]
}