Paul Greenwalt 2777d24ec6 ice: Add ice_get_link_status_datalen
The Get Link Status data length can vary with different versions of
ice_aqc_get_link_status_data. Add ice_get_link_status_datalen() to return
datalen for the specific ice_aqc_get_link_status_data version.
Add new link partner fields to ice_aqc_get_link_status_data; PHY type,
FEC, and flow control.

Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Co-developed-by: Pawel Chmielewski <pawel.chmielewski@intel.com>
Signed-off-by: Pawel Chmielewski <pawel.chmielewski@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231025214157.1222758-4-jacob.e.keller@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-10-26 20:32:38 -07:00
..
2023-03-07 13:02:01 -08:00
2023-01-19 08:18:03 -08:00
2023-10-26 20:32:38 -07:00
2023-10-26 20:32:38 -07:00
2023-01-19 08:18:03 -08:00
2023-10-20 12:53:05 +01:00
2023-01-19 08:18:03 -08:00
2023-10-20 12:53:05 +01:00
2023-08-17 10:43:06 -07:00
2023-08-07 13:01:29 -07:00
2023-10-20 12:53:05 +01:00