ice: Update ICE_PHY_TYPE_HIGH_MAX_INDEX value
As currently, we are supporting only 5 PHY_SPEEDs for phy_type_high. Thus, we should adjust the value of ICE_PHY_TYPE_HIGH_MAX_INDEX to 5. Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
c9a12d6d20
commit
bff185e240
|
@ -974,7 +974,7 @@ struct ice_aqc_get_phy_caps {
|
|||
#define ICE_PHY_TYPE_HIGH_100G_CAUI2 BIT_ULL(2)
|
||||
#define ICE_PHY_TYPE_HIGH_100G_AUI2_AOC_ACC BIT_ULL(3)
|
||||
#define ICE_PHY_TYPE_HIGH_100G_AUI2 BIT_ULL(4)
|
||||
#define ICE_PHY_TYPE_HIGH_MAX_INDEX 19
|
||||
#define ICE_PHY_TYPE_HIGH_MAX_INDEX 5
|
||||
|
||||
struct ice_aqc_get_phy_caps_data {
|
||||
__le64 phy_type_low; /* Use values from ICE_PHY_TYPE_LOW_* */
|
||||
|
|
Loading…
Reference in New Issue