net/i40e: fix 25G AOC and ACC cable detection on XXV710
Fixes: 75d133dd32
("net/i40e: enable 25G device")
Cc: stable@dpdk.org
Signed-off-by: Damjan Marion <damarion@cisco.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
This commit is contained in:
parent
fa6475b606
commit
3c4c76cf17
@ -1396,6 +1396,8 @@ i40e_calc_itr_interval(bool is_pf, bool is_multi_drv)
|
||||
(((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_KR) || \
|
||||
((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_CR) || \
|
||||
((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_SR) || \
|
||||
((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_LR))
|
||||
((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_LR) || \
|
||||
((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_AOC) || \
|
||||
((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_ACC))
|
||||
|
||||
#endif /* _I40E_ETHDEV_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user