mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
For Linux v6.9, the structure 'ethtool_eee' was replaced by 'ethtool_keee' and this new structure uses bitmaps for the structure fields 'supported', 'advertised' and 'lp_advertised' as opposed to 'u32' types. Add a test to conftest to detect the presence of the new 'ethtool_keee' structure and update the nvethernet driver to use the various linkmode_xxx helper functions for accessing the bitmap structure fields. Bug 4471899 Change-Id: I275becfa665a36ed90e8bc227eaa4122825faa6a Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3110494 Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com>