get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 85066,
    "url": "https://patches.dpdk.org/api/patches/85066/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201213102056.11380-21-talshn@nvidia.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20201213102056.11380-21-talshn@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201213102056.11380-21-talshn@nvidia.com",
    "date": "2020-12-13T10:20:44",
    "name": "[v3,20/32] mlx5/windows: add mlx5 meson file",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "762cd7ce710401f46e1e8ca82104a5294004202c",
    "submitter": {
        "id": 1893,
        "url": "https://patches.dpdk.org/api/people/1893/?format=api",
        "name": "Tal Shnaiderman",
        "email": "talshn@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201213102056.11380-21-talshn@nvidia.com/mbox/",
    "series": [
        {
            "id": 14276,
            "url": "https://patches.dpdk.org/api/series/14276/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14276",
            "date": "2020-12-13T10:20:24",
            "name": "mlx5 Windows support - part #5",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/14276/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85066/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/85066/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 25530A04B5;\n\tSun, 13 Dec 2020 11:28:07 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E4F00CA54;\n\tSun, 13 Dec 2020 11:22:17 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id B0927C96A\n for <dev@dpdk.org>; Sun, 13 Dec 2020 11:21:48 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@nvidia.com) with SMTP; 13 Dec 2020 12:21:43 +0200",
            "from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0BDALe1k018562;\n Sun, 13 Dec 2020 12:21:43 +0200"
        ],
        "From": "Tal Shnaiderman <talshn@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, matan@nvidia.com, rasland@nvidia.com,\n ophirmu@nvidia.com",
        "Date": "Sun, 13 Dec 2020 12:20:44 +0200",
        "Message-Id": "<20201213102056.11380-21-talshn@nvidia.com>",
        "X-Mailer": "git-send-email 2.16.1.windows.4",
        "In-Reply-To": "<20201213102056.11380-1-talshn@nvidia.com>",
        "References": "<20201210150648.8784-2-talshn@nvidia.com>\n <20201213102056.11380-1-talshn@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH v3 20/32] mlx5/windows: add mlx5 meson file",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "File drivers/common/mlx5/windows/meson.build is added to enable mlx5\nsource files compilation under common windows directory.\nA Devx SDK tool must be installed to export two external H files:\nmlx5devx.h and mlx5_ifc_devx.h. The installation is based on environment\nvariable DEVX_INC_PATH. In addition a DLL lib file is installed based on\nenvironment variable DEVX_LIB_PATH. The meson file is using the\nenvironment variables for compilation and linkage.\n\nSigned-off-by: Tal Shnaiderman <talshn@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/common/mlx5/windows/meson.build | 42 +++++++++++++++++++++++++++++++++\n 1 file changed, 42 insertions(+)\n create mode 100644 drivers/common/mlx5/windows/meson.build",
    "diff": "diff --git a/drivers/common/mlx5/windows/meson.build b/drivers/common/mlx5/windows/meson.build\nnew file mode 100644\nindex 0000000000..2b2aa3b097\n--- /dev/null\n+++ b/drivers/common/mlx5/windows/meson.build\n@@ -0,0 +1,42 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright 2019 Mellanox Technologies, Ltd\n+\n+includes += include_directories('.')\n+\n+allow_experimental_apis = true\n+sources += files(\n+\t'mlx5_glue.c',\n+)\n+\n+res_lib = run_command(python3, '-c', 'import os; print(os.environ[\"DEVX_LIB_PATH\"])')\n+res_inc = run_command(python3, '-c', 'import os; print(os.environ[\"DEVX_INC_PATH\"])')\n+\n+if (res_lib.returncode() != 0 or res_inc.returncode() != 0)\n+\tbuild = false\n+\treason = 'DevX environment variables are not set, DEVX_LIB_PATH and DEVX_INC_PATH vars must be exported'\n+\tsubdir_done()\n+endif\n+\n+devx_lib_dir = res_lib.stdout().strip()\n+devx_inc_dir = res_inc.stdout().strip()\n+\n+ext_deps += cc.find_library('mlx5devx', dirs: devx_lib_dir, required: true)\n+includes += include_directories(devx_inc_dir)\n+cflags_options = [\n+\t'-std=c11',\n+\t'-Wno-strict-prototypes',\n+\t'-D_BSD_SOURCE',\n+\t'-D_DEFAULT_SOURCE',\n+\t'-D_XOPEN_SOURCE=600'\n+]\n+foreach option:cflags_options\n+\tif cc.has_argument(option)\n+\t\tcflags += option\n+\tendif\n+endforeach\n+if get_option('buildtype').contains('debug')\n+\tcflags += [ '-pedantic', '-DPEDANTIC' ]\n+else\n+\tcflags += [ '-UPEDANTIC' ]\n+endif\n+\n",
    "prefixes": [
        "v3",
        "20/32"
    ]
}