get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1255,
    "url": "https://patches.dpdk.org/api/patches/1255/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1415773476-31004-3-git-send-email-cunming.liang@intel.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": "<1415773476-31004-3-git-send-email-cunming.liang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1415773476-31004-3-git-send-email-cunming.liang@intel.com",
    "date": "2014-11-12T06:24:31",
    "name": "[dpdk-dev,v7,2/7] ixgbe:clean scattered_rx configure in dev_stop",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5e6c61765e7c7785bb7521d6c0e5a9bdbc1aabc0",
    "submitter": {
        "id": 46,
        "url": "https://patches.dpdk.org/api/people/46/?format=api",
        "name": "Cunming Liang",
        "email": "cunming.liang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1415773476-31004-3-git-send-email-cunming.liang@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1255/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1255/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 7C8B17F74;\n\tWed, 12 Nov 2014 07:15:14 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 68E777F50\n\tfor <dev@dpdk.org>; Wed, 12 Nov 2014 07:15:07 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga103.jf.intel.com with ESMTP; 11 Nov 2014 22:22:36 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga002.jf.intel.com with ESMTP; 11 Nov 2014 22:24:57 -0800",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id sAC6Otad020336;\n\tWed, 12 Nov 2014 14:24:55 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid sAC6OqTC031196; Wed, 12 Nov 2014 14:24:55 +0800",
            "(from cliang18@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sAC6OqvY031192; \n\tWed, 12 Nov 2014 14:24:52 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.07,367,1413270000\"; d=\"scan'208\";a=\"635505338\"",
        "From": "Cunming Liang <cunming.liang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 12 Nov 2014 14:24:31 +0800",
        "Message-Id": "<1415773476-31004-3-git-send-email-cunming.liang@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1415773476-31004-1-git-send-email-cunming.liang@intel.com>",
        "References": "<1414372809-14044-1-git-send-email-cunming.liang@intel.com>\n\t<1415773476-31004-1-git-send-email-cunming.liang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v7 2/7] ixgbe:clean scattered_rx configure in\n\tdev_stop",
        "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": "Signed-off-by: Cunming Liang <cunming.liang@intel.com>\n---\n lib/librte_pmd_ixgbe/ixgbe_ethdev.c |    6 ++++++\n 1 files changed, 6 insertions(+), 0 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c\nindex 9c73a30..05490dc 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c\n+++ b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c\n@@ -1600,6 +1600,9 @@ ixgbe_dev_stop(struct rte_eth_dev *dev)\n \n \tixgbe_dev_clear_queues(dev);\n \n+\t/* Clear stored conf */\n+\tdev->data->scattered_rx = 0;\n+\n \t/* Clear recorded link status */\n \tmemset(&link, 0, sizeof(link));\n \trte_ixgbe_dev_atomic_write_link_status(dev, &link);\n@@ -2889,6 +2892,9 @@ ixgbevf_dev_stop(struct rte_eth_dev *dev)\n \t  */\n \tixgbevf_set_vfta_all(dev,0);\n \n+\t/* Clear stored conf */\n+\tdev->data->scattered_rx = 0;\n+\n \tixgbe_dev_clear_queues(dev);\n }\n \n",
    "prefixes": [
        "dpdk-dev",
        "v7",
        "2/7"
    ]
}