get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 4303,
    "url": "https://patches.dpdk.org/api/patches/4303/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1429003900-20074-1-git-send-email-thomas.monjalon@6wind.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": "<1429003900-20074-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1429003900-20074-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2015-04-14T09:31:40",
    "name": "[dpdk-dev] ixgbe: fix build with gcc 4.4",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "58b928a9d266474a4566bb0adbbd8e0bda87c6b1",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1429003900-20074-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/4303/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/4303/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 0A319C2DC;\n\tTue, 14 Apr 2015 11:32:35 +0200 (CEST)",
            "from mail-wi0-f176.google.com (mail-wi0-f176.google.com\n\t[209.85.212.176]) by dpdk.org (Postfix) with ESMTP id CE7175A40\n\tfor <dev@dpdk.org>; Tue, 14 Apr 2015 11:32:33 +0200 (CEST)",
            "by wiun10 with SMTP id n10so14354894wiu.1\n\tfor <dev@dpdk.org>; Tue, 14 Apr 2015 02:32:33 -0700 (PDT)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tbp1sm703380wjb.31.2015.04.14.02.32.32\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 14 Apr 2015 02:32:32 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-type:content-transfer-encoding;\n\tbh=quSDUBiU73NsY86EXdUQ7QYVjQzrqG24me6UctN5WFM=;\n\tb=QfGhHPqxwL1CHPNOPLJO3Ib4DznjwezhXpB08FG7uRqKOLNHE3DuDiTrSEgvYel8Lb\n\tYRIBaTeJ4c2J2aspbJDx5Dqxvt/jkRE/m2OfbGp2W932BHrFVkXgL+x+pY0SqjuZA2Fy\n\t+o3U/d9ytcY7sRNdmZqJ+peYBd1gLDaowY/84FvH+N+QxBtnM7TUMkWfHV2JRTDn5xPY\n\tzM6Tpz1gp78y7m5yMZ2U2cEYy5ZTIEO2yX9vJyA4PCd8z4c8V6/sILFQKa7QtciKxSjT\n\tbTQlmZGQN8zWHHLbAzNz3bQVISCI00XcIjfCTpK/lgVyidmAFlQ5qh4C7mU/jK0XM3kD\n\tP4oA==",
        "X-Gm-Message-State": "ALoCoQl6bXVCkr0Uq+nSjd1Lp4WcHN1l01ru4FfmZ8/X7XrNey61H1Ktt/Z3BL1slRvV428DKsMR",
        "X-Received": "by 10.180.37.207 with SMTP id a15mr30167583wik.2.1429003953703; \n\tTue, 14 Apr 2015 02:32:33 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "Vlad Zolotarov <vladz@cloudius-systems.com>,\n\tKonstantin Ananyev <konstantin.ananyev@intel.com>,\n\tHelin Zhang <helin.zhang@intel.com>",
        "Date": "Tue, 14 Apr 2015 11:31:40 +0200",
        "Message-Id": "<1429003900-20074-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.2.2",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Cc": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH] ixgbe: fix build with gcc 4.4",
        "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": "With GCC 4.4.7 from CentOS 6.5, the following errors arise:\n\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function ‘ixgbe_dev_rx_queue_setup’:\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c:2509: error: missing initializer\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c:2509: error: (near initialization for ‘dev_info.driver_name’)\n\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function ‘ixgbe_set_rsc’:\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c:4072: error: missing initializer\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c:4072: error: (near initialization for ‘dev_info.driver_name’)\n\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function ‘ixgbe_recv_pkts_lro_single_alloc’:\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c:1479: error: ‘next_rsc_entry’ may be used uninitialized in this function\nlib/librte_pmd_ixgbe/ixgbe_rxtx.c:1480: error: ‘next_rxe’ may be used uninitialized in this function\n\nFixes: 8eecb3295aed (\"ixgbe: add LRO support\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\nindex f1da9ec..a2b8631 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n+++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n@@ -1476,8 +1476,8 @@ ixgbe_recv_pkts_lro(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts,\n \t\tbool eop;\n \t\tstruct ixgbe_rx_entry *rxe;\n \t\tstruct ixgbe_rsc_entry *rsc_entry;\n-\t\tstruct ixgbe_rsc_entry *next_rsc_entry;\n-\t\tstruct ixgbe_rx_entry *next_rxe;\n+\t\tstruct ixgbe_rsc_entry *next_rsc_entry = NULL;\n+\t\tstruct ixgbe_rx_entry *next_rxe = NULL;\n \t\tstruct rte_mbuf *first_seg;\n \t\tstruct rte_mbuf *rxm;\n \t\tstruct rte_mbuf *nmb;\n@@ -2506,7 +2506,7 @@ ixgbe_dev_rx_queue_setup(struct rte_eth_dev *dev,\n \tstruct ixgbe_rx_queue *rxq;\n \tstruct ixgbe_hw     *hw;\n \tuint16_t len;\n-\tstruct rte_eth_dev_info dev_info = { 0 };\n+\tstruct rte_eth_dev_info dev_info = { .max_rx_queues = 0 };\n \tstruct rte_eth_rxmode *dev_rx_mode = &dev->data->dev_conf.rxmode;\n \tbool rsc_requested = false;\n \n@@ -4069,7 +4069,7 @@ ixgbe_set_rsc(struct rte_eth_dev *dev)\n {\n \tstruct rte_eth_rxmode *rx_conf = &dev->data->dev_conf.rxmode;\n \tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n-\tstruct rte_eth_dev_info dev_info = { 0 };\n+\tstruct rte_eth_dev_info dev_info = { .max_rx_queues = 0 };\n \tbool rsc_capable = false;\n \tuint16_t i;\n \tuint32_t rdrxctl;\n",
    "prefixes": [
        "dpdk-dev"
    ]
}