get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 229,
    "url": "http://patches.dpdk.org/api/patches/229/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1409062162-19575-4-git-send-email-david.marchand@6wind.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": "<1409062162-19575-4-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1409062162-19575-4-git-send-email-david.marchand@6wind.com",
    "date": "2014-08-26T14:09:13",
    "name": "[dpdk-dev,03/11] ixgbe: add a message when forcing scatter mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "073d0679ad3ccbedcb6ca28f095328ed0fed152d",
    "submitter": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1409062162-19575-4-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/229/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/229/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "Received": [
            "from mail-wg0-f52.google.com (mail-wg0-f52.google.com\n\t[74.125.82.52]) by dpdk.org (Postfix) with ESMTP id DF5F4B37B\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 16:05:33 +0200 (CEST)",
            "by mail-wg0-f52.google.com with SMTP id a1so14516706wgh.35\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 07:09:34 -0700 (PDT)",
            "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tcy9sm12543569wib.18.2014.08.26.07.09.32 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Aug 2014 07:09:33 -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:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=ic12cwabr8AF04pQHIwPk+tgXpe/G9R1OLAjgEjmdkU=;\n\tb=dldcyKsOG9NzXtbAk6s54PBN1yMcAb8FuRASQNjyJI1Hfw/bIwq7R1Qb2ngDenkvQc\n\tkMGXTyyvMDoMz3jcnCJCQAeh9Abv+Y/dwVe3/UNiXAe93UbIhAwuB/dkfs2ZNL0brDkg\n\tdkmL2MMvE29nlBjtRJro+x6WtbyWBVbE6D4YXFJe0Js2xhSpYkBsGLK2kvutt8kUWjuF\n\t7WXNeAZ6rP2UcVGAnuux8S6f6q59w/MLmVlBeiCId3EFQPU8To25yzUKNemL68Fqyz/Z\n\tP218FOk+xELg7aNjHxP0BFHTA7oby2LSMw1zTZIDh50WrdrNdVvxyXaMHwHGQhuQpyuy\n\tb91g==",
        "X-Gm-Message-State": "ALoCoQmhiW1Oj2a5W9neeAzUYq4xyLf1buXlLZcaqqa1o3z6gUhinOr/InMaePLiDk71qHY+Vz5E",
        "X-Received": "by 10.194.75.138 with SMTP id c10mr30613075wjw.9.1409062173928; \n\tTue, 26 Aug 2014 07:09:33 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 26 Aug 2014 16:09:13 +0200",
        "Message-Id": "<1409062162-19575-4-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1409062162-19575-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1409062162-19575-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 03/11] ixgbe: add a message when forcing scatter\n\tmode",
        "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>",
        "X-List-Received-Date": "Tue, 26 Aug 2014 14:05:34 -0000"
    },
    "content": "Signed-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_pmd_ixgbe/ixgbe_rxtx.c |    8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\nindex cbec821..e2804bd 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n+++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n@@ -3482,12 +3482,16 @@ ixgbe_dev_rx_init(struct rte_eth_dev *dev)\n \t\t/* It adds dual VLAN length for supporting dual VLAN */\n \t\tif ((dev->data->dev_conf.rxmode.max_rx_pkt_len +\n \t\t\t\t2 * IXGBE_VLAN_TAG_SIZE) > buf_size){\n+\t\t\tif (!dev->data->scattered_rx)\n+\t\t\t\tPMD_INIT_LOG(DEBUG, \"forcing scatter mode\\n\");\n \t\t\tdev->data->scattered_rx = 1;\n \t\t\tdev->rx_pkt_burst = ixgbe_recv_scattered_pkts;\n \t\t}\n \t}\n \n \tif (dev->data->dev_conf.rxmode.enable_scatter) {\n+\t\tif (!dev->data->scattered_rx)\n+\t\t\tPMD_INIT_LOG(DEBUG, \"forcing scatter mode\\n\");\n \t\tdev->rx_pkt_burst = ixgbe_recv_scattered_pkts;\n \t\tdev->data->scattered_rx = 1;\n \t}\n@@ -3975,12 +3979,16 @@ ixgbevf_dev_rx_init(struct rte_eth_dev *dev)\n \t\t/* It adds dual VLAN length for supporting dual VLAN */\n \t\tif ((dev->data->dev_conf.rxmode.max_rx_pkt_len +\n \t\t\t\t2 * IXGBE_VLAN_TAG_SIZE) > buf_size) {\n+\t\t\tif (!dev->data->scattered_rx)\n+\t\t\t\tPMD_INIT_LOG(DEBUG, \"forcing scatter mode\\n\");\n \t\t\tdev->data->scattered_rx = 1;\n \t\t\tdev->rx_pkt_burst = ixgbe_recv_scattered_pkts;\n \t\t}\n \t}\n \n \tif (dev->data->dev_conf.rxmode.enable_scatter) {\n+\t\tif (!dev->data->scattered_rx)\n+\t\t\tPMD_INIT_LOG(DEBUG, \"forcing scatter mode\\n\");\n \t\tdev->rx_pkt_burst = ixgbe_recv_scattered_pkts;\n \t\tdev->data->scattered_rx = 1;\n \t}\n",
    "prefixes": [
        "dpdk-dev",
        "03/11"
    ]
}