get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 11631,
    "url": "https://patches.dpdk.org/api/patches/11631/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1458582809-19628-2-git-send-email-stephen@networkplumber.org/",
    "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": "<1458582809-19628-2-git-send-email-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1458582809-19628-2-git-send-email-stephen@networkplumber.org",
    "date": "2016-03-21T17:53:24",
    "name": "[dpdk-dev,1/6] bonding: make eth_dev_ops const",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2e1510b8cc6eea26479b6eaf23d60a6d876e54f0",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 10,
        "url": "https://patches.dpdk.org/api/users/10/?format=api",
        "username": "bruce",
        "first_name": "Bruce",
        "last_name": "Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1458582809-19628-2-git-send-email-stephen@networkplumber.org/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/11631/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/11631/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 E18523239;\n\tMon, 21 Mar 2016 18:53:18 +0100 (CET)",
            "from mail-pf0-f176.google.com (mail-pf0-f176.google.com\n\t[209.85.192.176]) by dpdk.org (Postfix) with ESMTP id 593822BF5\n\tfor <dev@dpdk.org>; Mon, 21 Mar 2016 18:53:15 +0100 (CET)",
            "by mail-pf0-f176.google.com with SMTP id x3so272973075pfb.1\n\tfor <dev@dpdk.org>; Mon, 21 Mar 2016 10:53:15 -0700 (PDT)",
            "from xeon-e3.home.lan (static-50-53-65-230.bvtn.or.frontiernet.net.\n\t[50.53.65.230]) by smtp.gmail.com with ESMTPSA id\n\th2sm42201898pfd.91.2016.03.21.10.53.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 21 Mar 2016 10:53:14 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=RWuWiSDMrMt3+g+UXOj2A5k3Yk2Z5ZxtUOjnPnqPs7Y=;\n\tb=yrQKtsbmpSDWySDuH0gfqcYJPyn/faCUVxLGiX6PtEWCZ3EwQKk/hFK4Hns1Fg6yoZ\n\t03h6DZ0UiZ943GFBUE+1kCp/fEDrOT5PioRMfYRDevkhQd1s5l3gBQycd3WPZFITZbaS\n\t3Q9IN1vA3hZBYqGnDtdLpR/f8/3Opm4beDEo2mZEqBV9A5TNnhaFN93w/lr/yMixmnHH\n\tE4ckwKo3TURbsHBLMsgU2i7fIICGoaLgDnnRGXgbcTNsFTXL5Xw1UcMWcXmo61h5u6oh\n\thimBt7NNLqr9i0e5mIPnH6c5l04hXN0tPiCwJpyJz/zar6rfhynvuVnjsSHqd/9Pe0lg\n\tqk4w==",
        "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=RWuWiSDMrMt3+g+UXOj2A5k3Yk2Z5ZxtUOjnPnqPs7Y=;\n\tb=KUf4FYwYQ54sxo+OtN+2VV8ojyiTryp47JioPsQpAkUvJGMswYJ5qLa1YC8vHkKOl4\n\tHoMpmrujWJV3H7IOfaTNmkXKpAXaM/pbQ473YaNk6EVGkwaoLKePp4r+Uua/rp2QRLpA\n\tvEZeZ3mOWnvb+ZHDtyAI235Op2lXhW8A6pp/a4/sXypFPGzkCCPY/Y3oI+4jCCzUxR9B\n\tNBaSybfpgl8etUE5pIW3Abg9o5y4FVL/PhJZaPWyFu8a2dl5T+npiTKnTuORP049n6z8\n\twyU6kqxA1AF0JHVSv79UnUrvr5b1ha3nLCc+aQUv1/KW/kF8mbMqJ3MkdZdGKpaSnI89\n\tAg9Q==",
        "X-Gm-Message-State": "AD7BkJK3C9QoKa4YUObDKXHSCVDdiza43qTmndm8FdRf3pUaYs8x9Lb5twBlwbeIfAjyBg==",
        "X-Received": "by 10.98.8.196 with SMTP id 65mr46574177pfi.53.1458582794810;\n\tMon, 21 Mar 2016 10:53:14 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Mon, 21 Mar 2016 10:53:24 -0700",
        "Message-Id": "<1458582809-19628-2-git-send-email-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1458582809-19628-1-git-send-email-stephen@networkplumber.org>",
        "References": "<1458582809-19628-1-git-send-email-stephen@networkplumber.org>",
        "Subject": "[dpdk-dev] [PATCH 1/6] bonding: make eth_dev_ops const",
        "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": "This structure has immutable function pointers.\nAlso fix indentation.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n\n---\n drivers/net/bonding/rte_eth_bond_pmd.c     | 38 +++++++++++++++---------------\n drivers/net/bonding/rte_eth_bond_private.h |  2 +-\n 2 files changed, 20 insertions(+), 20 deletions(-)",
    "diff": "diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c\nindex 011150a..8961a67 100644\n--- a/drivers/net/bonding/rte_eth_bond_pmd.c\n+++ b/drivers/net/bonding/rte_eth_bond_pmd.c\n@@ -2142,25 +2142,25 @@ bond_ethdev_rss_hash_conf_get(struct rte_eth_dev *dev,\n \treturn 0;\n }\n \n-struct eth_dev_ops default_dev_ops = {\n-\t\t.dev_start            = bond_ethdev_start,\n-\t\t.dev_stop             = bond_ethdev_stop,\n-\t\t.dev_close            = bond_ethdev_close,\n-\t\t.dev_configure        = bond_ethdev_configure,\n-\t\t.dev_infos_get        = bond_ethdev_info,\n-\t\t.rx_queue_setup       = bond_ethdev_rx_queue_setup,\n-\t\t.tx_queue_setup       = bond_ethdev_tx_queue_setup,\n-\t\t.rx_queue_release     = bond_ethdev_rx_queue_release,\n-\t\t.tx_queue_release     = bond_ethdev_tx_queue_release,\n-\t\t.link_update          = bond_ethdev_link_update,\n-\t\t.stats_get            = bond_ethdev_stats_get,\n-\t\t.stats_reset          = bond_ethdev_stats_reset,\n-\t\t.promiscuous_enable   = bond_ethdev_promiscuous_enable,\n-\t\t.promiscuous_disable  = bond_ethdev_promiscuous_disable,\n-\t\t.reta_update          = bond_ethdev_rss_reta_update,\n-\t\t.reta_query           = bond_ethdev_rss_reta_query,\n-\t\t.rss_hash_update      = bond_ethdev_rss_hash_update,\n-\t\t.rss_hash_conf_get    = bond_ethdev_rss_hash_conf_get\n+const struct eth_dev_ops default_dev_ops = {\n+\t.dev_start            = bond_ethdev_start,\n+\t.dev_stop             = bond_ethdev_stop,\n+\t.dev_close            = bond_ethdev_close,\n+\t.dev_configure        = bond_ethdev_configure,\n+\t.dev_infos_get        = bond_ethdev_info,\n+\t.rx_queue_setup       = bond_ethdev_rx_queue_setup,\n+\t.tx_queue_setup       = bond_ethdev_tx_queue_setup,\n+\t.rx_queue_release     = bond_ethdev_rx_queue_release,\n+\t.tx_queue_release     = bond_ethdev_tx_queue_release,\n+\t.link_update          = bond_ethdev_link_update,\n+\t.stats_get            = bond_ethdev_stats_get,\n+\t.stats_reset          = bond_ethdev_stats_reset,\n+\t.promiscuous_enable   = bond_ethdev_promiscuous_enable,\n+\t.promiscuous_disable  = bond_ethdev_promiscuous_disable,\n+\t.reta_update          = bond_ethdev_rss_reta_update,\n+\t.reta_query           = bond_ethdev_rss_reta_query,\n+\t.rss_hash_update      = bond_ethdev_rss_hash_update,\n+\t.rss_hash_conf_get    = bond_ethdev_rss_hash_conf_get\n };\n \n static int\ndiff --git a/drivers/net/bonding/rte_eth_bond_private.h b/drivers/net/bonding/rte_eth_bond_private.h\nindex 6c47a29..8312397 100644\n--- a/drivers/net/bonding/rte_eth_bond_private.h\n+++ b/drivers/net/bonding/rte_eth_bond_private.h\n@@ -171,7 +171,7 @@ struct bond_dev_private {\n \tuint8_t slave_update_idx;\n };\n \n-extern struct eth_dev_ops default_dev_ops;\n+extern const struct eth_dev_ops default_dev_ops;\n \n int\n check_for_bonded_ethdev(const struct rte_eth_dev *eth_dev);\n",
    "prefixes": [
        "dpdk-dev",
        "1/6"
    ]
}