Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1020059/?format=api
{ "id": 1020059, "url": "http://patchwork.ozlabs.org/api/patches/1020059/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/nycvar.YFH.7.76.1901022016380.14047@cbobk.fhfr.pm/", "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": "<nycvar.YFH.7.76.1901022016380.14047@cbobk.fhfr.pm>", "list_archive_url": null, "date": "2019-01-02T19:20:33", "name": "ixgbe: remove magic constant in ixgbe_reset_hw_82599()", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b5b0e27521e660d7ee576e4988bb27665c8018ab", "submitter": { "id": 67576, "url": "http://patchwork.ozlabs.org/api/people/67576/?format=api", "name": "Jiri Kosina", "email": "jikos@kernel.org" }, "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/nycvar.YFH.7.76.1901022016380.14047@cbobk.fhfr.pm/mbox/", "series": [ { "id": 84160, "url": "http://patchwork.ozlabs.org/api/series/84160/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=84160", "date": "2019-01-02T19:20:33", "name": "ixgbe: remove magic constant in ixgbe_reset_hw_82599()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/84160/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1020059/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1020059/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.133; helo=hemlock.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=kernel.org" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 43VLtV5ddLz9rxp\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 3 Jan 2019 06:37:53 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id E73E1861B0;\n\tWed, 2 Jan 2019 19:37:50 +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 JYSN318f3GKF; Wed, 2 Jan 2019 19:37:50 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8CB7386003;\n\tWed, 2 Jan 2019 19:37:50 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 9B6C31C0C57\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 2 Jan 2019 19:33:44 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 980D684EDB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 2 Jan 2019 19:33:44 +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 Cegi1iYRg57E for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 2 Jan 2019 19:33:43 +0000 (UTC)", "from mx1.suse.de (mx2.suse.de [195.135.220.15])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 6A20084D8A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 2 Jan 2019 19:33:43 +0000 (UTC)", "from relay2.suse.de (unknown [195.135.220.254])\n\tby mx1.suse.de (Postfix) with ESMTP id 62AFEAE6E;\n\tWed, 2 Jan 2019 19:20:34 +0000 (UTC)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org", "by amavisd-new at test-mx.suse.de" ], "X-Greylist": "delayed 00:13:06 by SQLgrey-1.7.6", "Date": "Wed, 2 Jan 2019 20:20:33 +0100 (CET)", "From": "Jiri Kosina <jikos@kernel.org>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Message-ID": "<nycvar.YFH.7.76.1901022016380.14047@cbobk.fhfr.pm>", "User-Agent": "Alpine 2.21 (LSU 202 2017-01-01)", "MIME-Version": "1.0", "X-Mailman-Approved-At": "Wed, 02 Jan 2019 19:37:49 +0000", "Subject": "[Intel-wired-lan] [PATCH] ixgbe: remove magic constant in\n\tixgbe_reset_hw_82599()", "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, intel-wired-lan@lists.osuosl.org,\n\tlinux-kernel@vger.kernel.org", "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: Jiri Kosina <jkosina@suse.cz>\n\nixgbe_reset_hw_82599() resets the value of hw->mac.num_rar_entries to \npre-defined value of 128. Let's get rid of that hardcoded literal, and use \nIXGBE_82599_RAR_ENTRIES instead, the same way the normal initialization \npath does.\n\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c\nindex 1e49716f52bc..109f8de5a1c2 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c\n@@ -1048,7 +1048,7 @@ static s32 ixgbe_reset_hw_82599(struct ixgbe_hw *hw)\n \t * clear the multicast table. Also reset num_rar_entries to 128,\n \t * since we modify this value when programming the SAN MAC address.\n \t */\n-\thw->mac.num_rar_entries = 128;\n+\thw->mac.num_rar_entries = IXGBE_82599_RAR_ENTRIES;\n \thw->mac.ops.init_rx_addrs(hw);\n \n \t/* Store the permanent SAN mac address */\n", "prefixes": [] }