Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/669039/?format=api
{ "id": 669039, "url": "http://patchwork.ozlabs.org/api/patches/669039/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160912221327.5610.74333.stgit@john-Precision-Tower-5810/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20160912221327.5610.74333.stgit@john-Precision-Tower-5810>", "list_archive_url": null, "date": "2016-09-12T22:13:27", "name": "[net-next,v3,1/3] e1000: track BQL bytes regardless of skb or not", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "1e7509bf66e1c5a17422b86671b6fd460b112212", "submitter": { "id": 20028, "url": "http://patchwork.ozlabs.org/api/people/20028/?format=api", "name": "John Fastabend", "email": "john.fastabend@gmail.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160912221327.5610.74333.stgit@john-Precision-Tower-5810/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/669039/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/669039/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3sY2C45mC8z9sfH\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 13 Sep 2016 08:13:52 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 187848709C;\n\tMon, 12 Sep 2016 22:13:51 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id jcq4nGOzp5Jf; Mon, 12 Sep 2016 22:13:50 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 77E5786EEF;\n\tMon, 12 Sep 2016 22:13:50 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 1F7B51C2D29\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 12 Sep 2016 22:13:49 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 19C86882C0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 12 Sep 2016 22:13:49 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9silOJdXcLcy for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 12 Sep 2016 22:13:47 +0000 (UTC)", "from mail-oi0-f68.google.com (mail-oi0-f68.google.com\n\t[209.85.218.68])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 8543487F5A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 12 Sep 2016 22:13:47 +0000 (UTC)", "by mail-oi0-f68.google.com with SMTP id c129so5478236oih.1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 12 Sep 2016 15:13:47 -0700 (PDT)", "from [127.0.1.1] ([72.168.145.204])\n\tby smtp.gmail.com with ESMTPSA id\n\ta92sm6403219otb.34.2016.09.12.15.13.35\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 12 Sep 2016 15:13:46 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=SlT07DRD;\n\tdkim-atps=neutral", "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\n\th=from:subject:to:cc:date:message-id:in-reply-to:references\n\t:user-agent:mime-version:content-transfer-encoding;\n\tbh=09hwWgDE2urFJsMJEDCRq74ZfP/WfJIuRtv85DExEas=;\n\tb=SlT07DRDPHrgtJHSHtLmjIrnr4ncdP+u55v6egkFCCM54IuvMLdfFYCOtZEc6fJO7o\n\tLvIu1UUlhAAtW2YJqFGvDuaMuOpiXDmQ93kis+cW5twyIKLFq51PgUKd9wbE8GRTXRQg\n\t7U+ZHoxeB4qyPSF/bZzBqcN6sY4L9XFGmJgGZdOhVUnGQ68gfYpJGj5P2YdZhQAn8QGa\n\txfq5KYIRoRY9nfYvBMa8GKRG3obyYCO7XGWEHhhTN7Q9azAHIOMa/VsyKvRWOncFrx8s\n\tIMJI+YKgskdiuyG17O0UuA3MKM28IO4/89XTacEcM9P88GYomO6G934PfyyErUJGo3w6\n\tDhuQ==", "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:subject:to:cc:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=09hwWgDE2urFJsMJEDCRq74ZfP/WfJIuRtv85DExEas=;\n\tb=GfoKFC8tMuRCvItRi5I5Z9c8Qi0UOvZOONgEWiWviyCQiqDEhv+EG8v2qwo/y68B+E\n\t1TyIOoswaeeEN3teoJAYda/MG8PeujzaSBJIHsU7eAWwuwsow+h+zDYV8k2dASi+aPzM\n\tbBckr6bVlccIRvAOEmbCabc6uG6aYQEJPcIdusL5t8sj7IYJoylVJb3AxvbIR+ecRlc8\n\t0gc8V7qkUeM5+2TciOKZCk4iaZGCnsnfJl+VJI/Ofv4VzBWLKb0xholzWS0IAaIcWbK2\n\tT6HjCdxmrYwTnyz0Nr9zFeZJO86gBhC5SjKJw9yEJk2eUKDObi+dDC7jtqmTCiIbo7lt\n\tSXvQ==", "X-Gm-Message-State": "AE9vXwM/djCVOfARToBEIAtt61u7hWBDuuHtsOGmWWf9S4WMdiwxIGv1v1Vxh/P25Vu47A==", "X-Received": "by 10.202.75.197 with SMTP id y188mr1990509oia.10.1473718426847; \n\tMon, 12 Sep 2016 15:13:46 -0700 (PDT)", "From": "John Fastabend <john.fastabend@gmail.com>", "X-Google-Original-From": "John Fastabend <john.r.fastabend@intel.com>", "To": "bblanco@plumgrid.com, john.fastabend@gmail.com,\n\talexei.starovoitov@gmail.com, jeffrey.t.kirsher@intel.com,\n\tbrouer@redhat.com, davem@davemloft.net", "Date": "Mon, 12 Sep 2016 15:13:27 -0700", "Message-ID": "<20160912221327.5610.74333.stgit@john-Precision-Tower-5810>", "In-Reply-To": "<20160912220312.5610.77528.stgit@john-Precision-Tower-5810>", "References": "<20160912220312.5610.77528.stgit@john-Precision-Tower-5810>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Cc": "xiyou.wangcong@gmail.com, intel-wired-lan@lists.osuosl.org,\n\tu9012063@gmail.com, netdev@vger.kernel.org", "Subject": "[Intel-wired-lan] [net-next PATCH v3 1/3] e1000: track BQL bytes\n\tregardless of skb or not", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "The BQL API does not reference the sk_buff nor does the driver need to\nreference the sk_buff to calculate the length of a transmitted frame.\nThis patch removes an sk_buff reference from the xmit irq path and\nalso allows packets sent from XDP to use BQL.\n\nSigned-off-by: John Fastabend <john.r.fastabend@intel.com>\n---\n drivers/net/ethernet/intel/e1000/e1000_main.c | 7 ++-----\n 1 file changed, 2 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c\nindex f42129d..62a7f8d 100644\n--- a/drivers/net/ethernet/intel/e1000/e1000_main.c\n+++ b/drivers/net/ethernet/intel/e1000/e1000_main.c\n@@ -3882,11 +3882,8 @@ static bool e1000_clean_tx_irq(struct e1000_adapter *adapter,\n \t\t\tif (cleaned) {\n \t\t\t\ttotal_tx_packets += buffer_info->segs;\n \t\t\t\ttotal_tx_bytes += buffer_info->bytecount;\n-\t\t\t\tif (buffer_info->skb) {\n-\t\t\t\t\tbytes_compl += buffer_info->skb->len;\n-\t\t\t\t\tpkts_compl++;\n-\t\t\t\t}\n-\n+\t\t\t\tbytes_compl += buffer_info->length;\n+\t\t\t\tpkts_compl++;\n \t\t\t}\n \t\t\te1000_unmap_and_free_tx_resource(adapter, buffer_info);\n \t\t\ttx_desc->upper.data = 0;\n", "prefixes": [ "net-next", "v3", "1/3" ] }