get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2242,
    "url": "https://patches.dpdk.org/api/patches/2242/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421080446-19249-10-git-send-email-sergio.gonzalez.monroy@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": "<1421080446-19249-10-git-send-email-sergio.gonzalez.monroy@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421080446-19249-10-git-send-email-sergio.gonzalez.monroy@intel.com",
    "date": "2015-01-12T16:34:02",
    "name": "[dpdk-dev,RFC,09/13] mk: new corelib makefile",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": true,
    "hash": "630bc925dda8672d30c01c7ae203bca3bcafd8b7",
    "submitter": {
        "id": 73,
        "url": "https://patches.dpdk.org/api/people/73/?format=api",
        "name": "Sergio Gonzalez Monroy",
        "email": "sergio.gonzalez.monroy@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421080446-19249-10-git-send-email-sergio.gonzalez.monroy@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2242/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2242/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 F27B85AEB;\n\tMon, 12 Jan 2015 17:34:45 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id BF1995AD5\n\tfor <dev@dpdk.org>; Mon, 12 Jan 2015 17:34:14 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga103.fm.intel.com with ESMTP; 12 Jan 2015 08:29:07 -0800",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 12 Jan 2015 08:34:13 -0800",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt0CGYCDw022037 for <dev@dpdk.org>; Mon, 12 Jan 2015 16:34:12 GMT",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t0CGYCMZ019355\n\tfor <dev@dpdk.org>; Mon, 12 Jan 2015 16:34:12 GMT",
            "(from smonroy@localhost)\n\tby sivswdev02.ir.intel.com with  id t0CGY73f019347\n\tfor dev@dpdk.org; Mon, 12 Jan 2015 16:34:07 GMT"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.07,744,1413270000\"; d=\"scan'208\";a=\"636101537\"",
        "From": "Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 12 Jan 2015 16:34:02 +0000",
        "Message-Id": "<1421080446-19249-10-git-send-email-sergio.gonzalez.monroy@intel.com>",
        "X-Mailer": "git-send-email 1.8.5.4",
        "In-Reply-To": "<1421080446-19249-1-git-send-email-sergio.gonzalez.monroy@intel.com>",
        "References": "<1421080446-19249-1-git-send-email-sergio.gonzalez.monroy@intel.com>",
        "Subject": "[dpdk-dev] [PATCH RFC 09/13] mk: new corelib makefile",
        "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": "This patch creates a new rte.corelib.mk file and updates core libraries\nto use it.\n\nSigned-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>\n---\n lib/core/librte_eal/bsdapp/eal/Makefile   |  2 +-\n lib/core/librte_eal/linuxapp/eal/Makefile |  3 +-\n lib/core/librte_malloc/Makefile           |  2 +-\n lib/core/librte_mbuf/Makefile             |  2 +-\n lib/core/librte_mempool/Makefile          |  2 +-\n lib/core/librte_ring/Makefile             |  2 +-\n mk/rte.corelib.mk                         | 81 +++++++++++++++++++++++++++++++\n 7 files changed, 87 insertions(+), 7 deletions(-)\n create mode 100644 mk/rte.corelib.mk",
    "diff": "diff --git a/lib/core/librte_eal/bsdapp/eal/Makefile b/lib/core/librte_eal/bsdapp/eal/Makefile\nindex af0338f..afba0c6 100644\n--- a/lib/core/librte_eal/bsdapp/eal/Makefile\n+++ b/lib/core/librte_eal/bsdapp/eal/Makefile\n@@ -93,5 +93,5 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP)-include/exec-env := \\\n \n DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) += lib/core/librte_eal/common\n \n-include $(RTE_SDK)/mk/rte.lib.mk\n+include $(RTE_SDK)/mk/rte.corelib.mk\n \ndiff --git a/lib/core/librte_eal/linuxapp/eal/Makefile b/lib/core/librte_eal/linuxapp/eal/Makefile\nindex 0af2cd6..04165a2 100644\n--- a/lib/core/librte_eal/linuxapp/eal/Makefile\n+++ b/lib/core/librte_eal/linuxapp/eal/Makefile\n@@ -108,5 +108,4 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP)-include/exec-env := \\\n \n DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += lib/core/librte_eal/common\n \n-include $(RTE_SDK)/mk/rte.lib.mk\n-\n+include $(RTE_SDK)/mk/rte.corelib.mk\ndiff --git a/lib/core/librte_malloc/Makefile b/lib/core/librte_malloc/Makefile\nindex 8ed6e7d..8bc3d06 100644\n--- a/lib/core/librte_malloc/Makefile\n+++ b/lib/core/librte_malloc/Makefile\n@@ -45,4 +45,4 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_MALLOC)-include := rte_malloc.h\n # this lib needs eal\n DEPDIRS-$(CONFIG_RTE_LIBRTE_MALLOC) += lib/core/librte_eal\n \n-include $(RTE_SDK)/mk/rte.lib.mk\n+include $(RTE_SDK)/mk/rte.corelib.mk\ndiff --git a/lib/core/librte_mbuf/Makefile b/lib/core/librte_mbuf/Makefile\nindex b916d77..ceb4bd6 100644\n--- a/lib/core/librte_mbuf/Makefile\n+++ b/lib/core/librte_mbuf/Makefile\n@@ -45,4 +45,4 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include := rte_mbuf.h\n # this lib needs eal\n DEPDIRS-$(CONFIG_RTE_LIBRTE_MBUF) += lib/core/librte_eal lib/core/librte_mempool\n \n-include $(RTE_SDK)/mk/rte.lib.mk\n+include $(RTE_SDK)/mk/rte.corelib.mk\ndiff --git a/lib/core/librte_mempool/Makefile b/lib/core/librte_mempool/Makefile\nindex 94a7fc1..6e1e7c3 100644\n--- a/lib/core/librte_mempool/Makefile\n+++ b/lib/core/librte_mempool/Makefile\n@@ -48,4 +48,4 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_MEMPOOL)-include := rte_mempool.h\n DEPDIRS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += lib/core/librte_eal lib/core/librte_ring\n DEPDIRS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += lib/core/librte_malloc\n \n-include $(RTE_SDK)/mk/rte.lib.mk\n+include $(RTE_SDK)/mk/rte.corelib.mk\ndiff --git a/lib/core/librte_ring/Makefile b/lib/core/librte_ring/Makefile\nindex 0b196e8..5111d34 100644\n--- a/lib/core/librte_ring/Makefile\n+++ b/lib/core/librte_ring/Makefile\n@@ -45,4 +45,4 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_RING)-include := rte_ring.h\n # this lib needs eal and rte_malloc\n DEPDIRS-$(CONFIG_RTE_LIBRTE_RING) += lib/core/librte_eal lib/core/librte_malloc\n \n-include $(RTE_SDK)/mk/rte.lib.mk\n+include $(RTE_SDK)/mk/rte.corelib.mk\ndiff --git a/mk/rte.corelib.mk b/mk/rte.corelib.mk\nnew file mode 100644\nindex 0000000..0f83021\n--- /dev/null\n+++ b/mk/rte.corelib.mk\n@@ -0,0 +1,81 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+include $(RTE_SDK)/mk/internal/rte.compile-pre.mk\n+include $(RTE_SDK)/mk/internal/rte.install-pre.mk\n+include $(RTE_SDK)/mk/internal/rte.clean-pre.mk\n+include $(RTE_SDK)/mk/internal/rte.build-pre.mk\n+include $(RTE_SDK)/mk/internal/rte.depdirs-pre.mk\n+\n+# VPATH contains at least SRCDIR\n+VPATH += $(SRCDIR)\n+\n+LIB := $(patsubst %.a,%.touch,$(LIB))\n+\n+_BUILD = $(LIB)\n+_INSTALL = $(INSTALL-FILES-y) $(SYMLINK-FILES-y)\n+_CLEAN = doclean\n+\n+.PHONY: all\n+all: install\n+\n+.PHONY: install\n+install: build _postinstall\n+\n+_postinstall: build\n+\n+.PHONY: build\n+build: _postbuild\n+\n+$(LIB): $(OBJS-y)\n+\t@mkdir -p $(COREDIR);\n+\t@cp -f $? $(COREDIR) && touch $(LIB)\n+\n+#\n+# Clean all generated files\n+#\n+.PHONY: clean\n+clean: _postclean\n+\n+.PHONY: doclean\n+doclean:\n+\t$(Q)rm -rf $(LIB) $(OBJS-all) $(DEPS-all) $(DEPSTMP-all) \\\n+\t  $(CMDS-all) $(INSTALL-FILES-all)\n+\t$(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS)\n+\n+include $(RTE_SDK)/mk/internal/rte.compile-post.mk\n+include $(RTE_SDK)/mk/internal/rte.install-post.mk\n+include $(RTE_SDK)/mk/internal/rte.clean-post.mk\n+include $(RTE_SDK)/mk/internal/rte.build-post.mk\n+include $(RTE_SDK)/mk/internal/rte.depdirs-post.mk\n+\n+.PHONY: FORCE\n+FORCE:\n",
    "prefixes": [
        "dpdk-dev",
        "RFC",
        "09/13"
    ]
}