net/i40e: fix 25G AOC and ACC cable detection on XXV710
PATCH 1/1 net/i40e: fix 25G AOC and ACC cable detection on XXV710
Fixes 75d133dd3296 ("net/i40e: enable 25G device")
Signed-off-by Damjan Marion <[email protected]>
--- drivers/net/i40e/i40e_ethdev.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/i40e/i40e_ethdev.h +3 -1
@@ -1393,6 +1393,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_ */
Signature · 1 line
2.17.1
Quoted 9 lines
-----Original Message-----
From: Damjan Marion [mailto:[email protected]]
Sent: Tuesday, September 25, 2018 4:17 PM
To: Xing, Beilei <[email protected]>; Zhang, Qi Z <[email protected]>
Cc: [email protected]; Damjan Marion <[email protected]>; [email protected]
Subject: [PATCH] net/i40e: fix 25G AOC and ACC cable detection on XXV710
Quoted 4 lines
Fixes 75d133dd3296 ("net/i40e: enable 25G device")Signed-off-by Damjan Marion <[email protected]>
Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi