get:
Show a patch.

patch:
Update a patch.

put:
Update 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/project/dpdk/patch/1409567080-27083-6-git-send-email-david.marchand@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": "<1409567080-27083-6-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/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/project/dpdk/patch/1409567080-27083-6-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/278/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/278/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "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)"
        ],
        "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==",
        "X-Gm-Message-State": "ALoCoQlrMdrxa9jbEMZcvOC/RoWtgmjpqh3kEkqaw8mO/Lx1L05PNneZiIEzh27JoGiNxMD8dWkI",
        "X-Received": "by 10.180.10.230 with SMTP id l6mr4128908wib.62.1409567093716;\n\tMon, 01 Sep 2014 03:24:53 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon,  1 Sep 2014 12:24:28 +0200",
        "Message-Id": "<1409567080-27083-6-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v2 05/17] ixgbe: add a message when forcing\n\tscatter mode",
        "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": "Mon, 01 Sep 2014 10:20:26 -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 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"
    ]
}