get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52039,
    "url": "http://patches.dpdk.org/api/patches/52039/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190402035458.14664-4-anand.rawat@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20190402035458.14664-4-anand.rawat@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190402035458.14664-4-anand.rawat@intel.com",
    "date": "2019-04-02T03:54:51",
    "name": "[v8,03/10] eal: add new rte_os.h header to build system",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "67336393f74a2fb768d5719b4eebfbf9f59f2969",
    "submitter": {
        "id": 1231,
        "url": "http://patches.dpdk.org/api/people/1231/?format=api",
        "name": "Anand Rawat",
        "email": "anand.rawat@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190402035458.14664-4-anand.rawat@intel.com/mbox/",
    "series": [
        {
            "id": 4042,
            "url": "http://patches.dpdk.org/api/series/4042/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4042",
            "date": "2019-04-02T03:54:48",
            "name": "HelloWorld example for Windows",
            "version": 8,
            "mbox": "http://patches.dpdk.org/series/4042/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52039/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/52039/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1D2B35B2E;\n\tTue,  2 Apr 2019 05:55:10 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 37EB356A3\n\tfor <dev@dpdk.org>; Tue,  2 Apr 2019 05:55:02 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t01 Apr 2019 20:55:00 -0700",
            "from anandraw-devbx.amr.corp.intel.com ([10.19.242.57])\n\tby orsmga004.jf.intel.com with ESMTP; 01 Apr 2019 20:55:00 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.60,298,1549958400\"; d=\"scan'208\";a=\"287910254\"",
        "From": "Anand Rawat <anand.rawat@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "anand.rawat@intel.com, pallavi.kadam@intel.com, ranjit.menon@intel.com, \n\tjeffrey.b.shaw@intel.com, bruce.richardson@intel.com, thomas@monjalon.net",
        "Date": "Mon,  1 Apr 2019 20:54:51 -0700",
        "Message-Id": "<20190402035458.14664-4-anand.rawat@intel.com>",
        "X-Mailer": "git-send-email 2.17.1.windows.2",
        "In-Reply-To": "<20190402035458.14664-1-anand.rawat@intel.com>",
        "References": "<20190306041634.12976-1-anand.rawat@intel.com>\n\t<20190402035458.14664-1-anand.rawat@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v8 03/10] eal: add new rte_os.h header to build\n\tsystem",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Added rte_os.h files to support OS specific functionality.\nUpdated build system to contain OS headers in the include\npath.\n\nSigned-off-by: Anand Rawat <anand.rawat@intel.com>\nReviewed-by: Pallavi Kadam <pallavi.kadam@intel.com>\n---\n lib/librte_eal/freebsd/eal/Makefile         |  4 ++--\n lib/librte_eal/freebsd/eal/include/rte_os.h | 14 ++++++++++++++\n lib/librte_eal/linux/eal/Makefile           |  3 ++-\n lib/librte_eal/linux/eal/include/rte_os.h   | 14 ++++++++++++++\n lib/librte_eal/windows/eal/include/rte_os.h | 14 ++++++++++++++\n meson.build                                 |  6 ++++--\n mk/exec-env/freebsd/rte.vars.mk             |  5 ++++-\n mk/exec-env/linux/rte.vars.mk               |  5 ++++-\n 8 files changed, 58 insertions(+), 7 deletions(-)\n create mode 100644 lib/librte_eal/freebsd/eal/include/rte_os.h\n create mode 100644 lib/librte_eal/linux/eal/include/rte_os.h\n create mode 100644 lib/librte_eal/windows/eal/include/rte_os.h",
    "diff": "diff --git a/lib/librte_eal/freebsd/eal/Makefile b/lib/librte_eal/freebsd/eal/Makefile\nindex 55d476e5b..19854ee2c 100644\n--- a/lib/librte_eal/freebsd/eal/Makefile\n+++ b/lib/librte_eal/freebsd/eal/Makefile\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2015 Intel Corporation\n+# Copyright(c) 2010-2019 Intel Corporation\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n@@ -86,7 +86,7 @@ CFLAGS_eal_thread.o += -Wno-return-type\n CFLAGS_eal_hpet.o += -Wno-return-type\n endif\n \n-INC :=  # no bsd specific headers\n+INC := rte_os.h\n \n SYMLINK-$(CONFIG_RTE_EXEC_ENV_FREEBSD)-include := $(addprefix include/,$(INC))\n \ndiff --git a/lib/librte_eal/freebsd/eal/include/rte_os.h b/lib/librte_eal/freebsd/eal/include/rte_os.h\nnew file mode 100644\nindex 000000000..49cd4d4d9\n--- /dev/null\n+++ b/lib/librte_eal/freebsd/eal/include/rte_os.h\n@@ -0,0 +1,14 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2010-2019 Intel Corporation\n+ */\n+\n+#ifndef _RTE_OS_H_\n+#define _RTE_OS_H_\n+\n+/**\n+ * This is header should contain any function/macro definition\n+ * which are not supported natively or named differently in the\n+ * freebsd OS. Functions will be added in future releases.\n+ */\n+\n+#endif /* _RTE_OS_H_ */\ndiff --git a/lib/librte_eal/linux/eal/Makefile b/lib/librte_eal/linux/eal/Makefile\nindex 2aa6e8c6a..6e5261152 100644\n--- a/lib/librte_eal/linux/eal/Makefile\n+++ b/lib/librte_eal/linux/eal/Makefile\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2016 Intel Corporation\n+# Copyright(c) 2010-2019 Intel Corporation\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n@@ -94,6 +94,7 @@ CFLAGS_eal_thread.o += -Wno-return-type\n endif\n \n INC := rte_kni_common.h\n+INC += rte_os.h\n \n SYMLINK-$(CONFIG_RTE_EXEC_ENV_LINUX)-include := $(addprefix include/,$(INC))\n \ndiff --git a/lib/librte_eal/linux/eal/include/rte_os.h b/lib/librte_eal/linux/eal/include/rte_os.h\nnew file mode 100644\nindex 000000000..bc6ad14d2\n--- /dev/null\n+++ b/lib/librte_eal/linux/eal/include/rte_os.h\n@@ -0,0 +1,14 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2010-2019 Intel Corporation\n+ */\n+\n+#ifndef _RTE_OS_H_\n+#define _RTE_OS_H_\n+\n+/**\n+ * This is header should contain any function/macro definition\n+ * which are not supported natively or named differently in the\n+ * linux OS. Functions will be added in future releases.\n+ */\n+\n+#endif /* _RTE_OS_H_ */\ndiff --git a/lib/librte_eal/windows/eal/include/rte_os.h b/lib/librte_eal/windows/eal/include/rte_os.h\nnew file mode 100644\nindex 000000000..421ed8e7f\n--- /dev/null\n+++ b/lib/librte_eal/windows/eal/include/rte_os.h\n@@ -0,0 +1,14 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2010-2019 Intel Corporation\n+ */\n+\n+#ifndef _RTE_OS_H_\n+#define _RTE_OS_H_\n+\n+/**\n+ * This is header should contain any function/macro definition\n+ * which are not supported natively or named differently in the\n+ * Windows OS. Functions will be added in future releases.\n+ */\n+\n+#endif /* _RTE_OS_H_ */\ndiff --git a/meson.build b/meson.build\nindex 6061c4b1e..5a93c1f1a 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2017 Intel Corporation\n+# Copyright(c) 2017-2019 Intel Corporation\n \n project('DPDK', 'C',\n \t# Get version number from file.\n@@ -24,7 +24,9 @@ dpdk_app_link_libraries = []\n # configure the build, and make sure configs here and in config folder are\n # able to be included in any file. We also store a global array of include dirs\n # for passing to pmdinfogen scripts\n-global_inc = include_directories('.', 'config', 'lib/librte_eal/common/include')\n+global_inc = include_directories('.', 'config',\n+\t\t\t\t\t\t'lib/librte_eal/common/include',\n+\t\t\t\t\t\t'lib/librte_eal/@0@/eal/include'.format(host_machine.system()))\n subdir('config')\n \n # build libs and drivers\ndiff --git a/mk/exec-env/freebsd/rte.vars.mk b/mk/exec-env/freebsd/rte.vars.mk\nindex c6be560b3..3608530d3 100644\n--- a/mk/exec-env/freebsd/rte.vars.mk\n+++ b/mk/exec-env/freebsd/rte.vars.mk\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n+# Copyright(c) 2010-2019 Intel Corporation\n \n #\n # exec-env:\n@@ -17,6 +17,9 @@ else\n EXECENV_CFLAGS  = -pthread\n endif\n \n+# include in every library to build\n+EXECENV_CFLAGS += -I$(RTE_SDK)/lib/librte_eal/freebsd/eal/include\n+\n EXECENV_LDFLAGS =\n EXECENV_LDLIBS  = -lexecinfo\n EXECENV_ASFLAGS =\ndiff --git a/mk/exec-env/linux/rte.vars.mk b/mk/exec-env/linux/rte.vars.mk\nindex d04d0e29c..bea3f7657 100644\n--- a/mk/exec-env/linux/rte.vars.mk\n+++ b/mk/exec-env/linux/rte.vars.mk\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n+# Copyright(c) 2010-2019 Intel Corporation\n \n #\n # exec-env:\n@@ -17,6 +17,9 @@ else\n EXECENV_CFLAGS  = -pthread\n endif\n \n+# include in every library to build\n+EXECENV_CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal/include\n+\n EXECENV_LDLIBS  =\n EXECENV_ASFLAGS =\n \n",
    "prefixes": [
        "v8",
        "03/10"
    ]
}