Show a patch.

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

{
    "id": 403,
    "url": "https://patches.dpdk.org/api/patches/403/?format=api",
    "web_url": "https://patches.dpdk.org/patch/403/",
    "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"
    },
    "msgid": "<1410961612-8571-7-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-17T13:46:38",
    "name": "[dpdk-dev,v3,06/20] ixgbe: add a message when forcing scatter mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "bec8a73a5357b05154390de1d65b45b85c326c23",
    "submitter": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/403/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/403/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/403/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Message-Id": "<1410961612-8571-7-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-Gm-Message-State": "ALoCoQmgk3TbE9x+DJynMaJ18b4sBv+VkyFnf4EPm9jittrQZoDORizVGqKh+E+XWV5s9IHl7SDz",
        "To": "dev@dpdk.org",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 09967B3C1;\n\tWed, 17 Sep 2014 15:41:32 +0200 (CEST)",
            "from mail-we0-f175.google.com (mail-we0-f175.google.com\n\t[74.125.82.175]) by dpdk.org (Postfix) with ESMTP id D3E96B3BB\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 15:41:29 +0200 (CEST)",
            "by mail-we0-f175.google.com with SMTP id w61so1442208wes.6\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 06:47:11 -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\tfa20sm5712872wic.1.2014.09.17.06.47.08 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 17 Sep 2014 06:47:10 -0700 (PDT)"
        ],
        "Subject": "[dpdk-dev] [PATCH v3 06/20] ixgbe: add a message when forcing\n\tscatter mode",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "In-Reply-To": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "Precedence": "list",
        "From": "David Marchand <david.marchand@6wind.com>",
        "X-Received": "by 10.180.36.84 with SMTP id o20mr13700019wij.9.1410961630727;\n\tWed, 17 Sep 2014 06:47:10 -0700 (PDT)",
        "References": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Delivered-To": "patchwork@dpdk.org",
        "Date": "Wed, 17 Sep 2014 15:46:38 +0200",
        "X-Mailman-Version": "2.1.15",
        "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:in-reply-to\n\t:references;\n\tbh=cNmwgSMktEGvw8+U2c2pX+nFT5kD5uG1N3LN6+OkNmM=;\n\tb=ZqxEqAxvM4U5VmqNUurte+iXOZcQliDv7ke9vra852tfrgx0tLAsQ0BZgE+w9z1pcS\n\tUbU0FLIITcMctIUOXMHQFLwqHXjrxN1/U+k3pOhExX8SQYlOPrlkUnz4HDgw2nIGYtoQ\n\t4Hymk5Zdc9qN7/1CksdvdwJJxDr7sRsKu02uazgT8lE9HxGAxlioCTt2p3ifjc52yCQZ\n\t1Zc5W5Q0hzkZ5hNL+SSR/E5IemItXplOJVDLnHEcmhvbW7hIwsyf0pWiNJjGZ8kCpqsD\n\tveEXby3QLAcQL8TDiE8b1CRKzviaIKMK1zIe7hknxf8Nqp14gSEuY4Qt5W7I269WZ85/\n\tfx+g=="
    },
    "content": "Signed-off-by: David Marchand <david.marchand@6wind.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.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 9a3fd0d..98fbd46 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n+++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n@@ -3488,12 +3488,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 \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 \t\tdev->rx_pkt_burst = ixgbe_recv_scattered_pkts;\n \t\tdev->data->scattered_rx = 1;\n \t}\n@@ -3979,12 +3983,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 \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 \t\tdev->rx_pkt_burst = ixgbe_recv_scattered_pkts;\n \t\tdev->data->scattered_rx = 1;\n \t}\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "06/20"
    ]
}