]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix PHY type identifiers for 2.5G and 5G adapters
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Tue, 13 Apr 2021 14:43:07 +0000 (14:43 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 7 May 2021 16:35:49 +0000 (09:35 -0700)
commitd13a6ac7dd22fa6f100036f57a6cf19350715255
treee1ba5c7fc0f481e795fa175cd9d73ae83118643d
parent7355a2414192463c4e4c2cb19be23da0746392e5
i40e: Fix PHY type identifiers for 2.5G and 5G adapters

Unlike other supported adapters, 2.5G and 5G use different
PHY type identifiers for reading/writing PHY settings
and for reading link status. This commit introduces
separate PHY identifiers for these two operation types.

Fixes: cc1846da9d36 ("i40e: Add support for X710 B/P & SFP+ cards")
Signed-off-by: Dawid Lukwinski <dawid.lukwinski@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_type.h