From patchwork Thu Oct 5 21:53:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Brady X-Patchwork-Id: 822109 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=osuosl.org (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y7RSm0zHFz9t4b for ; Fri, 6 Oct 2017 08:57:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 567232628A; Thu, 5 Oct 2017 21:57:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z3dAPhaBooMf; Thu, 5 Oct 2017 21:57:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 417B026653; Thu, 5 Oct 2017 21:57:06 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id EE1A61C097A for ; Thu, 5 Oct 2017 21:57:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E83468817B for ; Thu, 5 Oct 2017 21:57:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vt0uLZ7BjBF0 for ; Thu, 5 Oct 2017 21:57:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E541B8813B for ; Thu, 5 Oct 2017 21:57:03 +0000 (UTC) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 14:56:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,482,1500966000"; d="scan'208";a="159384095" Received: from dev1-atbrady.jf.intel.com ([10.165.248.38]) by fmsmga005.fm.intel.com with ESMTP; 05 Oct 2017 14:56:39 -0700 From: Alan Brady To: intel-wired-lan@lists.osuosl.org Date: Thu, 5 Oct 2017 14:53:30 -0700 Message-Id: <20171005215344.2886-1-alan.brady@intel.com> X-Mailer: git-send-email 2.14.1 Subject: [Intel-wired-lan] [PATCH v3 00/14 net-next] i40e: refactor ethtool interface X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" This series brings i40e ethtool interface back into the modern era by converting references to the old ethtool API to the new API. This conversion allows us to provide much better support for new 25G and 10G PHY types. This also includes a patch which adds new function to ethtool; ethtool_intersect_link_masks. i40e uses this function is used to take what is supported by the PHY type and intersect it with what is supported by the NVM, giving us what is truly supported. v2: Removed extra new line. Fixed comment split. Removed i40e_intersect_link_masks and added ethtool_intersect_link_masks to net/core/ethtool.c. Removed '.' from title of commit 09/13 v3: Fixed typo in "13/13 i40e: convert i40e_set_link_ksettings to new API"; "unsuported" to "unsupported". Extracted the addition of ethtool_intersect_link_masks into its own patch. Alan Brady (13): i40e: rename 'cmd' variables in ethtool interface i40e: remove ifdef SPEED_25000 i40e: add function header for i40e_get_rxfh i40e: fix clearing link masks in i40e_get_link_ksettings i40e: fix i40e_phy_type_to_ethtool function header i40e: fix comment typo i40e: fix whitespace issues in i40e_ethtool.c i40e: group autoneg PHY types together ethtool: add ethtool_intersect_link_masks i40e: convert i40e_phy_type_to_ethtool to new API i40e: convert i40e_get_settings_link_up to new API i40e: rename 'change' variable to 'autoneg_changed' i40e: convert i40e_set_link_ksettings to new API Sudheer Mogilappagari (1): i40e: Add new phy types for 25G AOC and ACC support drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h | 4 + drivers/net/ethernet/intel/i40e/i40e_common.c | 2 + drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 715 +++++++++++++-------- drivers/net/ethernet/intel/i40e/i40e_type.h | 4 + .../net/ethernet/intel/i40evf/i40e_adminq_cmd.h | 4 + include/linux/ethtool.h | 10 + net/core/ethtool.c | 16 + 7 files changed, 475 insertions(+), 280 deletions(-)