get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40680,
    "url": "http://patchwork.dpdk.org/api/patches/40680/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180606135027.13780-1-thomas@monjalon.net/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20180606135027.13780-1-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180606135027.13780-1-thomas@monjalon.net",
    "date": "2018-06-06T13:50:27",
    "name": "[dpdk-dev] examples: make Linux environment check consistent",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "94d4c2eb34872cee3394e2e0c249edaacb1f7bdd",
    "submitter": {
        "id": 685,
        "url": "http://patchwork.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180606135027.13780-1-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 13,
            "url": "http://patchwork.dpdk.org/api/series/13/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=13",
            "date": "2018-06-06T13:50:27",
            "name": "[dpdk-dev] examples: make Linux environment check consistent",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/13/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/40680/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/40680/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 1A8F98E67;\n\tWed,  6 Jun 2018 15:51:36 +0200 (CEST)",
            "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n\t[66.111.4.25]) by dpdk.org (Postfix) with ESMTP id C65678E67\n\tfor <dev@dpdk.org>; Wed,  6 Jun 2018 15:51:33 +0200 (CEST)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 58C7721C51;\n\tWed,  6 Jun 2018 09:51:33 -0400 (EDT)",
            "from mailfrontend2 ([10.202.2.163])\n\tby compute1.internal (MEProxy); Wed, 06 Jun 2018 09:51:33 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id A6C6F10265\n\tfor <dev@dpdk.org>; Wed,  6 Jun 2018 09:51:32 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tdate:from:message-id:subject:to:x-me-sender:x-me-sender\n\t:x-sasl-enc; s=mesmtp; bh=8MYQfD3NLfuGf7VB75O/PeA+1dY0JCWRp1QueQ\n\t1g2zk=; b=V4HQoKGTt8ywkxqtGNpk9tKJHMHHyZFwRjj8bLQNzz6rkImjDclumG\n\tYLq4Mh0pJiWxz+NtFFlc1piqzZXYKetnTV7bU1CCz//PR7d2hYI8lo4ZFRyxCjMh\n\tWKQa42GAl1telooBTJ4LLsjfUFAjUyBDiNQz8KBwRh9wfc5C9CjSw=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=date:from:message-id:subject:to\n\t:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=8MYQfD3NLfuGf7VB7\n\t5O/PeA+1dY0JCWRp1QueQ1g2zk=; b=Pr6JDg+rJFasxM/KcDK4/XJQZBpLZxquc\n\tFTXvqhUSoIFnFiwl+vWkQ1+JwTjgOqAB22x0wxrzwuw/T5INuGJang6KCQXgYM2R\n\tr5K9f+EX/dkYxTwIAsl7h0nOt7y1+EZSBAczX70PAPc7bdw2e2qU7YO6j4Iv+uFs\n\t90UAzQgm8Zm6uZdtnfq0tNuITeyVV43oXCRsSCstuDqfyjII95Uu1vWI+L3L91kT\n\tcH0OXIoKq8DCDJhusgZFG6pY4l9xU9B5wW36t5IVCOs3UnElyOeHriqA26/tkX1/\n\tibbPZ5yao1c3ye8oQwzPc0jq0PaP2kyvQSKiejxk+6htbpwvev3Yg=="
        ],
        "X-ME-Proxy": [
            "<xmx:5eYXW8nhyLM25z9F_D9YNH7yJfEAYUiQVY6lOChpTeddgqlbBcZ1Xw>",
            "<xmx:5eYXW1Tu7ycYJp3_haC_0mjuy2Oxfoj_PraqYqfY1evbYKNvJ_Sn6Q>",
            "<xmx:5eYXW6M_Tm3mz-a15lOr3hzC1XuBmp1WA9XInwAGb7efchkwiyt3uQ>",
            "<xmx:5eYXW-WdrGPdrrsyY8I5yBUEEpntxj11SOWYE9jr7ay3wZrvefHtjw>",
            "<xmx:5eYXWxffo8ba2WlVNTRaO7RjJmQG5kDTk9w4pRXetC9S5p0uQMBqcg>",
            "<xmx:5eYXW12PlSRjP-TjSe_Z14BowY306PX6BUmaX807Ybej3YouCtCpUA>"
        ],
        "X-ME-Sender": "<xms:5eYXWxERHBRawXcCWF_4Ce652ilncLjxUxXKo2ufNgW9OHXaLAbLQg>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Date": "Wed,  6 Jun 2018 15:50:27 +0200",
        "Message-Id": "<20180606135027.13780-1-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] examples: make Linux environment check consistent",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Some Makefiles are using CONFIG_RTE_EXEC_ENV and others\nare using CONFIG_RTE_EXEC_ENV_LINUXAPP.\nUse the latter one for consistency.\nWe could remove CONFIG_RTE_EXEC_ENV later if considered useless.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n examples/ethtool/Makefile                                  | 2 +-\n examples/ethtool/lib/Makefile                              | 2 +-\n examples/ip_pipeline/Makefile                              | 2 +-\n examples/kni/Makefile                                      | 2 +-\n examples/l3fwd-power/Makefile                              | 2 +-\n examples/multi_process/client_server_mp/mp_server/Makefile | 2 +-\n examples/netmap_compat/bridge/Makefile                     | 2 +-\n examples/qos_sched/Makefile                                | 2 +-\n examples/server_node_efd/server/Makefile                   | 2 +-\n examples/tep_termination/Makefile                          | 2 +-\n examples/vhost/Makefile                                    | 2 +-\n examples/vhost_crypto/Makefile                             | 2 +-\n examples/vhost_scsi/Makefile                               | 2 +-\n 13 files changed, 13 insertions(+), 13 deletions(-)",
    "diff": "diff --git a/examples/ethtool/Makefile b/examples/ethtool/Makefile\nindex 2b40b4b61..3d9d4f06e 100644\n--- a/examples/ethtool/Makefile\n+++ b/examples/ethtool/Makefile\n@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n else\ndiff --git a/examples/ethtool/lib/Makefile b/examples/ethtool/lib/Makefile\nindex 2576910f8..6eaa640bc 100644\n--- a/examples/ethtool/lib/Makefile\n+++ b/examples/ethtool/lib/Makefile\n@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(error This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n endif\ndiff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile\nindex 11d2b35da..3fb98ce3e 100644\n--- a/examples/ip_pipeline/Makefile\n+++ b/examples/ip_pipeline/Makefile\n@@ -67,7 +67,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n all:\ndiff --git a/examples/kni/Makefile b/examples/kni/Makefile\nindex 562dc2741..7e19d2e2a 100644\n--- a/examples/kni/Makefile\n+++ b/examples/kni/Makefile\n@@ -48,7 +48,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(error This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n endif\ndiff --git a/examples/l3fwd-power/Makefile b/examples/l3fwd-power/Makefile\nindex 390b7d6b6..f2fe7463b 100644\n--- a/examples/l3fwd-power/Makefile\n+++ b/examples/l3fwd-power/Makefile\n@@ -48,7 +48,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n all:\ndiff --git a/examples/multi_process/client_server_mp/mp_server/Makefile b/examples/multi_process/client_server_mp/mp_server/Makefile\nindex af7246e6b..9c1caae79 100644\n--- a/examples/multi_process/client_server_mp/mp_server/Makefile\n+++ b/examples/multi_process/client_server_mp/mp_server/Makefile\n@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(error This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n endif\ndiff --git a/examples/netmap_compat/bridge/Makefile b/examples/netmap_compat/bridge/Makefile\nindex a7c9c14a8..856c847bd 100644\n--- a/examples/netmap_compat/bridge/Makefile\n+++ b/examples/netmap_compat/bridge/Makefile\n@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n all:\ndiff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile\nindex 0f0a31ff2..a7ecf9788 100644\n--- a/examples/qos_sched/Makefile\n+++ b/examples/qos_sched/Makefile\n@@ -48,7 +48,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n all:\ndiff --git a/examples/server_node_efd/server/Makefile b/examples/server_node_efd/server/Makefile\nindex cbb91ebe8..df6614c60 100644\n--- a/examples/server_node_efd/server/Makefile\n+++ b/examples/server_node_efd/server/Makefile\n@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV), \"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(error This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n endif\ndiff --git a/examples/tep_termination/Makefile b/examples/tep_termination/Makefile\nindex 2b93446c0..8ec1a38ef 100644\n--- a/examples/tep_termination/Makefile\n+++ b/examples/tep_termination/Makefile\n@@ -52,7 +52,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(error This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n endif\ndiff --git a/examples/vhost/Makefile b/examples/vhost/Makefile\nindex 67cc55b1b..a2ea97a0c 100644\n--- a/examples/vhost/Makefile\n+++ b/examples/vhost/Makefile\n@@ -52,7 +52,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n all:\ndiff --git a/examples/vhost_crypto/Makefile b/examples/vhost_crypto/Makefile\nindex 1bb65e8fd..83d331012 100644\n--- a/examples/vhost_crypto/Makefile\n+++ b/examples/vhost_crypto/Makefile\n@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n all:\ndiff --git a/examples/vhost_scsi/Makefile b/examples/vhost_scsi/Makefile\nindex 31bd2563c..fa0cf727e 100644\n--- a/examples/vhost_scsi/Makefile\n+++ b/examples/vhost_scsi/Makefile\n@@ -51,7 +51,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n \n include $(RTE_SDK)/mk/rte.vars.mk\n \n-ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n $(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n all:\n",
    "prefixes": [
        "dpdk-dev"
    ]
}