Show a patch.

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

{
    "id": 41937,
    "url": "http://patches.dpdk.org/api/patches/41937/?format=api",
    "web_url": "http://patches.dpdk.org/patch/41937/",
    "project": {
        "id": 1,
        "url": "http://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": "<1530267873-7236-5-git-send-email-rk@semihalf.com>",
    "date": "2018-06-29T10:24:33",
    "name": "[v3,4/4] net/ena: enable WC",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "dfd45eb960a219af4d09b5e64712c4452af4cd43",
    "submitter": {
        "id": 951,
        "url": "http://patches.dpdk.org/api/people/951/?format=api",
        "name": "Rafal Kozik",
        "email": "rk@semihalf.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/patch/41937/mbox/",
    "series": [
        {
            "id": 313,
            "url": "http://patches.dpdk.org/api/series/313/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=313",
            "date": "2018-06-29T10:24:29",
            "name": "support for write combining",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/313/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41937/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/41937/checks/",
    "tags": {},
    "headers": {
        "X-Mailer": "git-send-email 2.7.4",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "From": "Rafal Kozik <rk@semihalf.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=f6yWG44YI6g9KqH5tp/Dp20sb4gCLsQaNH2i9MGPUmQ=;\n\tb=MNcxy2No8p407pe8rCDyzm98Z1gJZGrITLF9l2KskORRQdDgI/jPK8b5wTaCR6DAMw\n\t5WZ79ph0SWPBhkn8+WiYzQagGldCmojcoO86ZnnW7e7vQKUDEmQVTN1xHwKsAqvpbFzY\n\t7rG36iB31kiwjgRGpCy/ZO/kHqTWC5y8hWYlh/LTMoIevvWOkrm/YNaGAcO7AXZufidB\n\tgu5UcWiO/Q6LOTchWZhS5w/Nyj8EMSpmhiqZ1EvVvrDpAEA0c80eH+hvodY0omZDXLO2\n\tbcgjxlAIRtcoOGMkPGcONy8g8i4yvRa2HVyPTaInA9zuZqXMSnEAPpQymVGmDohOYF7j\n\tt5Ww==",
        "X-Mailman-Version": "2.1.15",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Gm-Message-State": "APt69E2fln/0rQ3G9SIpryaCDwGi68Nt8gAQhgaWunodTM/yvLxu5uC7\n\tzGUjogxacv3YKSus+bzwHzXuWobIgGdsjA==",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Cc": "mw@semihalf.com, mk@semihalf.com, gtzalik@amazon.com, evgenys@amazon.com,\n\tmatua@amazon.com, igorch@amazon.com, thomas@monjalon.net,\n\tferruh.yigit@intel.com, Rafal Kozik <rk@semihalf.com>",
        "To": "dev@dpdk.org",
        "Errors-To": "dev-bounces@dpdk.org",
        "References": "<1530191753-18689-2-git-send-email-rk@semihalf.com>\n\t<1530267873-7236-1-git-send-email-rk@semihalf.com>",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=f6yWG44YI6g9KqH5tp/Dp20sb4gCLsQaNH2i9MGPUmQ=;\n\tb=YTL7gnVR0sybINx2s76g6P80NrE2DNYTqCbKsHPDbOdQOkB8t946LFJ3Gx1jDaolse\n\t1iGZDPRJgrmPMldaRQmoLH+cesP6OIOlfpM5/FXf+FWVi0WrlQL+DkUihGpCNB5cyWIU\n\tWb6ylYTsqmJ0JyiTvlgO7lTpmoqAp+k36vih4RYH6Fi9ooyls2t3JW/m39oMQ6ZvrQH1\n\tb/8ahH/QBdZTqfILEqhUw1aJTH+zjI+2JSLF5nScTsm3uF/GVwqbExWJtWx4F5qnfNlq\n\tOD2m4FWjU/JPKRHNThqq7xxqt/CW096UVWyRIw576xzUsWrwBGMNkvJfjaunojiWt1JU\n\ttfMQ==",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EB8611B4F0;\n\tFri, 29 Jun 2018 12:24:48 +0200 (CEST)",
            "from mail-lf0-f68.google.com (mail-lf0-f68.google.com\n\t[209.85.215.68]) by dpdk.org (Postfix) with ESMTP id D7F6E1B4DE\n\tfor <dev@dpdk.org>; Fri, 29 Jun 2018 12:24:45 +0200 (CEST)",
            "by mail-lf0-f68.google.com with SMTP id l16-v6so4143517lfc.13\n\tfor <dev@dpdk.org>; Fri, 29 Jun 2018 03:24:45 -0700 (PDT)",
            "from rafalkozik.semihalf.local\n\t(31-172-191-173.noc.fibertech.net.pl. [31.172.191.173])\n\tby smtp.gmail.com with ESMTPSA id\n\td79-v6sm745514ljd.50.2018.06.29.03.24.44\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 29 Jun 2018 03:24:44 -0700 (PDT)"
        ],
        "Date": "Fri, 29 Jun 2018 12:24:33 +0200",
        "X-Received": "by 2002:a19:29c7:: with SMTP id\n\tp190-v6mr9846218lfp.146.1530267885386; \n\tFri, 29 Jun 2018 03:24:45 -0700 (PDT)",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v3 4/4] net/ena: enable WC",
        "In-Reply-To": "<1530267873-7236-1-git-send-email-rk@semihalf.com>",
        "Message-Id": "<1530267873-7236-5-git-send-email-rk@semihalf.com>",
        "Precedence": "list",
        "X-BeenThere": "dev@dpdk.org",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Google-Smtp-Source": "AAOMgpdjYIQUYGrrxG35hczBXHiEmAl1YLUam0r6ebKzn1VaGKd6VmCZ7as2rRpdodWLjh7oLLYHmg=="
    },
    "content": "Write combining (WC) increases NIC performance by making better\nutilization of PCI bus. ENA PMD may make usage of this feature.\n\nTo enable it load igb_uio driver with wc_activate set to 1.\n\nSigned-off-by: Rafal Kozik <rk@semihalf.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/net/ena/ena_ethdev.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c\nindex 9ae73e3..1870edf 100644\n--- a/drivers/net/ena/ena_ethdev.c\n+++ b/drivers/net/ena/ena_ethdev.c\n@@ -2210,7 +2210,8 @@ static int eth_ena_pci_remove(struct rte_pci_device *pci_dev)\n \n static struct rte_pci_driver rte_ena_pmd = {\n \t.id_table = pci_id_ena_map,\n-\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,\n+\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |\n+\t\t     RTE_PCI_DRV_WC_ACTIVATE,\n \t.probe = eth_ena_pci_probe,\n \t.remove = eth_ena_pci_remove,\n };\n",
    "prefixes": [
        "v3",
        "4/4"
    ]
}