From: Jeff Kirsher <jeffrey.t.kirs...@intel.com> Date: Tue, 17 Oct 2017 11:21:04 -0700
> This series contains updates to i40e and ethtool. > > Alan provides most of the changes in this series which are mainly fixes > and cleanups. Renamed the ethtool "cmd" variable to "ks", since the new > ethtool API passes us ksettings structs instead of command structs. > Cleaned up an ifdef that was not accomplishing anything. Added function > header comments to provide better documentation. Fixed two issues in > i40e_get_link_ksettings(), by calling > ethtool_link_ksettings_zero_link_mode() to ensure the advertising and > link masks are cleared before we start setting bits. Cleaned up and fixed > code comments which were incorrect. Separated the setting of autoneg in > i40e_phy_types_to_ethtool() into its own conditional to clarify what PHYs > support and advertise autoneg, and makes it easier to add new PHY types in > the future. Added ethtool functionality to intersect two link masks > together to find the common ground between them. Overhauled i40e to > ensure that the new ethtool API macros are being used, instead of the > old ones. Fixed the usage of unsigned 64-bit division which is not > supported on all architectures. > > Sudheer adds support for 25G Active Optical Cables (AOC) and Active Copper > Cables (ACC) PHY types. Pulled, thanks Jeff.