Show a patch.

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

{
    "id": 278,
    "url": "https://patches.dpdk.org/api/patches/278/?format=api",
    "web_url": "https://patches.dpdk.org/patch/278/",
    "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": "<1409567080-27083-6-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-01T10:24:28",
    "name": "[dpdk-dev,v2,05/17] ixgbe: add a message when forcing scatter mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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/278/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/278/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/278/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Return-Path": "<david.marchand@6wind.com>",
        "Message-Id": "<1409567080-27083-6-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-Gm-Message-State": "ALoCoQlrMdrxa9jbEMZcvOC/RoWtgmjpqh3kEkqaw8mO/Lx1L05PNneZiIEzh27JoGiNxMD8dWkI",
        "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 mail-we0-f174.google.com (mail-we0-f174.google.com\n\t[74.125.82.174]) by dpdk.org (Postfix) with ESMTP id CD8EDB3A7\n\tfor <dev@dpdk.org>; Mon,  1 Sep 2014 12:20:26 +0200 (CEST)",
            "by mail-we0-f174.google.com with SMTP id u57so5197645wes.5\n\tfor <dev@dpdk.org>; Mon, 01 Sep 2014 03:24:53 -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\tlm18sm24287018wic.22.2014.09.01.03.24.52 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 01 Sep 2014 03:24:53 -0700 (PDT)"
        ],
        "Subject": "[dpdk-dev] [PATCH v2 05/17] 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": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "Precedence": "list",
        "From": "David Marchand <david.marchand@6wind.com>",
        "X-Received": "by 10.180.10.230 with SMTP id l6mr4128908wib.62.1409567093716;\n\tMon, 01 Sep 2014 03:24:53 -0700 (PDT)",
        "References": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "X-List-Received-Date": "Mon, 01 Sep 2014 10:20:26 -0000",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Date": "Mon,  1 Sep 2014 12:24:28 +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:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=fbVXEKQvWVyN5Z45uLNF57MPK8I7uZ4l3vfTCmmj/0o=;\n\tb=ROLst8W0s3BJxFSe7vQJrt8EzLOazqAbPQL7toKnoLv48d+pV5E9Kmz5KUpldUcNjl\n\t/GHHirM7X1JmGioqsFcz4G7E6U+u0uhXN1RGq6hEJp9ZTU1L1JUIafiZWsNrgc3mqKld\n\tutpKikboLaWYn7dYJjYwKHTmAfQzZ0b0lFsfAhZpzxtfkZs3xTmKHlwODUpdS/4cc6Vb\n\tYVfnjNvyenMlgBOkP+JiYIxogemLe/Q7PnJX9wLdKw5vVZFNiDKCBuMrOTtk3Nv4Lr1T\n\tfmngDOPABEPCFO+57DRuiggqLzZwe2FuxrOcuQKfQ2bWtrT6MVwG2KHmwYJQRZJPWfH/\n\tHgYA=="
    },
    "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 981df60..dbbe612 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@@ -3981,12 +3985,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",
        "v2",
        "05/17"
    ]
}