Skip to contentSkip to conversation

net/i40e: fix 25G AOC and ACC cable detection on XXV710

PATCH Applied Damjan Marion 2 participants 2 messages Sep 25, 2018 – Sep 27, 2018 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/i40e: fix 25G AOC and ACC cable detection on XXV710

Fixes 75d133dd3296 ("net/i40e: enable 25G device")
---
 drivers/net/i40e/i40e_ethdev.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/i40e/i40e_ethdev.h +3 -1
index 3fffe5a55..b876933e5 100644
@@ -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
Acked-by on v1 1/1 Applied
#1 lore raw
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")

Applied to dpdk-next-net-intel.

Thanks
Qi