get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 9518,
    "url": "https://patches.dpdk.org/api/patches/9518/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1450060372-20115-1-git-send-email-yong.liu@intel.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": "<1450060372-20115-1-git-send-email-yong.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1450060372-20115-1-git-send-email-yong.liu@intel.com",
    "date": "2015-12-14T02:32:52",
    "name": "[dpdk-dev] examples/ethtool, l3fwd-power: fix build on FreeBSD",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "09750bd3bfd654e1703dacfae86e54a8f5b74306",
    "submitter": {
        "id": 17,
        "url": "https://patches.dpdk.org/api/people/17/?format=api",
        "name": "Marvin Liu",
        "email": "yong.liu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1450060372-20115-1-git-send-email-yong.liu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/9518/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/9518/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 14FD18D39;\n\tMon, 14 Dec 2015 03:33:08 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id AEFBD5A43\n\tfor <dev@dpdk.org>; Mon, 14 Dec 2015 03:33:03 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga101.fm.intel.com with ESMTP; 13 Dec 2015 18:33:02 -0800",
            "from shilc102.sh.intel.com ([10.239.39.44])\n\tby orsmga003.jf.intel.com with ESMTP; 13 Dec 2015 18:33:00 -0800",
            "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shilc102.sh.intel.com with ESMTP id tBE2WtVW017093;\n\tMon, 14 Dec 2015 10:32:55 +0800",
            "from shecgisg003.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid tBE2Wr27020151; Mon, 14 Dec 2015 10:32:55 +0800",
            "(from yliu84x@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id tBE2Wrhl020147; \n\tMon, 14 Dec 2015 10:32:53 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,425,1444719600\"; d=\"scan'208\";a=\"706714363\"",
        "From": "Yong Liu <yong.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 14 Dec 2015 10:32:52 +0800",
        "Message-Id": "<1450060372-20115-1-git-send-email-yong.liu@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH] examples/ethtool,\n\tl3fwd-power: fix build on FreeBSD",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "Userspace ethtool and l3fwd-power not support FreeBSD. So skip them when build\nsamples.\n\nSigned-off-by: Marvin Liu <yong.liu@intel.com>",
    "diff": "diff --git a/examples/ethtool/Makefile b/examples/ethtool/Makefile\nindex 94f8ee3..995cd25 100644\n--- a/examples/ethtool/Makefile\n+++ b/examples/ethtool/Makefile\n@@ -39,10 +39,11 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc\n include $(RTE_SDK)/mk/rte.vars.mk\n \n ifneq ($(CONFIG_RTE_EXEC_ENV),\"linuxapp\")\n-$(error This application can only operate in a linuxapp environment, \\\n+$(info This application can only operate in a linuxapp environment, \\\n please change the definition of the RTE_TARGET environment variable)\n-endif\n+else\n \n DIRS-y += lib ethtool-app\n+endif\n \n include $(RTE_SDK)/mk/rte.extsubdir.mk\ndiff --git a/examples/l3fwd-power/Makefile b/examples/l3fwd-power/Makefile\nindex d0f8e6d..783772a 100644\n--- a/examples/l3fwd-power/Makefile\n+++ b/examples/l3fwd-power/Makefile\n@@ -38,6 +38,12 @@ 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+$(info This application can only operate in a linuxapp environment, \\\n+please change the definition of the RTE_TARGET environment variable)\n+all:\n+else\n+\n # binary name\n APP = l3fwd-power\n \n@@ -54,3 +60,4 @@ CFLAGS_main.o += -Wno-return-type\n endif\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n+endif\n",
    "prefixes": [
        "dpdk-dev"
    ]
}