Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/999217/?format=api
{ "id": 999217, "url": "http://patchwork.ozlabs.org/api/patches/999217/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20181117001924.1525-1-vinicius.gomes@intel.com/", "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": "<20181117001924.1525-1-vinicius.gomes@intel.com>", "list_archive_url": null, "date": "2018-11-17T00:19:23", "name": "[next-queue,v1,1/2] igb: Change RXPBSIZE size when setting Qav mode", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "66c49eb9d55d481292926c4f53cdb4aea7a3defc", "submitter": { "id": 72272, "url": "http://patchwork.ozlabs.org/api/people/72272/?format=api", "name": "Vinicius Costa Gomes", "email": "vinicius.gomes@intel.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/20181117001924.1525-1-vinicius.gomes@intel.com/mbox/", "series": [ { "id": 76554, "url": "http://patchwork.ozlabs.org/api/series/76554/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=76554", "date": "2018-11-17T00:19:23", "name": "[next-queue,v1,1/2] igb: Change RXPBSIZE size when setting Qav mode", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/76554/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/999217/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/999217/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@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" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com" ], "Received": [ "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 42xbNZ0ckmz9s9m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 17 Nov 2018 11:20:44 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8D1B98592A;\n\tSat, 17 Nov 2018 00:20:42 +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 7ak9UZqGdMEs; Sat, 17 Nov 2018 00:20:42 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id F129D8558E;\n\tSat, 17 Nov 2018 00:20:41 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 648601BF298\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 17 Nov 2018 00:20:40 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5E146870EA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 17 Nov 2018 00:20:40 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 3FbEJFjO5PT6 for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 17 Nov 2018 00:20:39 +0000 (UTC)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 5AEEB81B74\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 17 Nov 2018 00:20:39 +0000 (UTC)", "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t16 Nov 2018 16:20:38 -0800", "from ellie.jf.intel.com (HELO localhost.localdomain)\n\t([10.54.70.81])\n\tby orsmga007.jf.intel.com with ESMTP; 16 Nov 2018 16:20:38 -0800" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.56,242,1539673200\"; d=\"scan'208\";a=\"89972900\"", "From": "Vinicius Costa Gomes <vinicius.gomes@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 16 Nov 2018 16:19:23 -0800", "Message-Id": "<20181117001924.1525-1-vinicius.gomes@intel.com>", "X-Mailer": "git-send-email 2.19.1", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [next-queue PATCH v1 1/2] igb: Change RXPBSIZE\n\tsize when setting Qav mode", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "netdev@vger.kernel.org, jesus.s.palencia@gmail.com,\n\tJesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "From: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>\n\nSection 4.5.9 of the datasheet says that the total size of all packet\nbuffers combined (TxPB 0 + 1 + 2 + 3 + RxPB + BMC2OS + OS2BMC) must not\nexceed 60KB. Today we are configuring a total of 62KB, so reduce the\nRxPB from 32KB to 30KB in order to respect that.\n\nThe choice of changing RxPBSIZE here is mainly because it seems more\ncorrect to give more priority to the transmit packet buffers over the\nreceiver ones when running in Qav mode. Also, the BMC2OS and OS2BMC\nsizes are already too short.\n\nSigned-off-by: Jesus Sanchez-Palencia <jesus.s.palencia@gmail.com>\n---\n drivers/net/ethernet/intel/igb/e1000_defines.h | 1 +\n drivers/net/ethernet/intel/igb/igb_main.c | 2 +-\n 2 files changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/e1000_defines.h b/drivers/net/ethernet/intel/igb/e1000_defines.h\nindex 8a28f3388f69..01fcfc6f3415 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_defines.h\n+++ b/drivers/net/ethernet/intel/igb/e1000_defines.h\n@@ -334,6 +334,7 @@\n \n #define I210_RXPBSIZE_DEFAULT\t\t0x000000A2 /* RXPBSIZE default */\n #define I210_RXPBSIZE_MASK\t\t0x0000003F\n+#define I210_RXPBSIZE_PB_30KB\t\t0x0000001E\n #define I210_RXPBSIZE_PB_32KB\t\t0x00000020\n #define I210_TXPBSIZE_DEFAULT\t\t0x04000014 /* TXPBSIZE default */\n #define I210_TXPBSIZE_MASK\t\t0xC0FFFFFF\ndiff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c\nindex bb4f3f64fbf0..e135adf46980 100644\n--- a/drivers/net/ethernet/intel/igb/igb_main.c\n+++ b/drivers/net/ethernet/intel/igb/igb_main.c\n@@ -1934,7 +1934,7 @@ static void igb_setup_tx_mode(struct igb_adapter *adapter)\n \n \t\tval = rd32(E1000_RXPBS);\n \t\tval &= ~I210_RXPBSIZE_MASK;\n-\t\tval |= I210_RXPBSIZE_PB_32KB;\n+\t\tval |= I210_RXPBSIZE_PB_30KB;\n \t\twr32(E1000_RXPBS, val);\n \n \t\t/* Section 8.12.9 states that MAX_TPKT_SIZE from DTXMXPKTSZ\n", "prefixes": [ "next-queue", "v1", "1/2" ] }