get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 23285,
    "url": "http://patches.dpdk.org/api/patches/23285/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170406121428.16883-1-ferruh.yigit@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": "<20170406121428.16883-1-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170406121428.16883-1-ferruh.yigit@intel.com",
    "date": "2017-04-06T12:14:26",
    "name": "[dpdk-dev,1/3] net/thunderx: disable pmd for gcc < 4.7",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "730fb944dd102818cd274c90d2879588cbb5fdc1",
    "submitter": {
        "id": 324,
        "url": "http://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170406121428.16883-1-ferruh.yigit@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/23285/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/23285/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 0B5CB2B84;\n\tThu,  6 Apr 2017 14:14:39 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id ED92D9E3\n\tfor <dev@dpdk.org>; Thu,  6 Apr 2017 14:14:37 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 Apr 2017 05:14:36 -0700",
            "from sivswdev02.ir.intel.com ([10.237.217.46])\n\tby orsmga004.jf.intel.com with ESMTP; 06 Apr 2017 05:14:35 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=simple/simple;\n\td=intel.com; i=@intel.com; q=dns/txt; s=intel;\n\tt=1491480878; x=1523016878;\n\th=from:to:cc:subject:date:message-id;\n\tbh=r1r5Pl1aJQw2+6IKUogCVkD/oZhbowYhg4ZjqY9QbAg=;\n\tb=W7qsVcq6EGcKxkm/VplU4Ieab96E9XEx+PCHpks/K/1mVLZNb/CSSOoT\n\tr44trx1Bx1V6xXZ1UffgvVYFtKzNcw==;",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.37,159,1488873600\"; d=\"scan'208\";a=\"74319358\"",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "Jerin Jacob <jerin.jacob@caviumnetworks.com>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tHarry van Haaren <harry.van.haaren@intel.com>,\n\tThomas Monjalon <thomas.monjalon@6wind.com>",
        "Cc": "dev@dpdk.org,\n\tFerruh Yigit <ferruh.yigit@intel.com>",
        "Date": "Thu,  6 Apr 2017 13:14:26 +0100",
        "Message-Id": "<20170406121428.16883-1-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "Subject": "[dpdk-dev] [PATCH 1/3] net/thunderx: disable pmd for gcc < 4.7",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "PMD uses some compiler builtins and new compiler options. Tested with\ngcc 4.5.1 and following were not supported:\n\noption:\n-Ofast\n\nmacros:\n_Static_assert\n\n__ORDER_LITTLE_ENDIAN__\n__ORDER_BIG_ENDIAN__\n__BYTE_ORDER__\n\n__atomic_fetch_add\n__ATOMIC_ACQUIRE\n__atomic_load_n\n__ATOMIC_RELAXED\n__atomic_store_n\n__ATOMIC_RELEASE\n\nIt is not easy to fix all in PMD, disabling PMD for gcc version < 4.7\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n drivers/net/thunderx/Makefile | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile\nindex 706250b..0b9f0a2 100644\n--- a/drivers/net/thunderx/Makefile\n+++ b/drivers/net/thunderx/Makefile\n@@ -62,6 +62,14 @@ SRCS-$(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD) += nicvf_svf.c\n \n ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n CFLAGS_nicvf_rxtx.o += -fno-prefetch-loop-arrays\n+\n+# Disable PMD for gcc < 4.7\n+ifeq ($(shell test $(GCC_VERSION) -lt 47 && echo 1), 1)\n+$(warning thunderx pmd not supported by gcc < 4.7)\n+LIB = \n+SRC-y = \n+endif\n+\n endif\n CFLAGS_nicvf_rxtx.o += -Ofast\n \n",
    "prefixes": [
        "dpdk-dev",
        "1/3"
    ]
}