Skip to content

Commit b1daa34

Browse files
ykylulinqzhan16
authored andcommitted
net/i40e: support 25G AOC/ACC cables
Enable additional PHY types (25G-AOC and 25G-ACC) for set PHY config command. Signed-off-by: Yury Kylulin <yury.kylulin@intel.com> Tested-by: Ashish Paul <apaul@juniper.net>
1 parent a65126d commit b1daa34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/i40e/i40e_ethdev.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,8 @@ i40e_phy_conf_link(struct i40e_hw *hw,
23072307
phy_conf.phy_type = is_up ? cpu_to_le32(phy_type_mask) : 0;
23082308
phy_conf.phy_type_ext = is_up ? (I40E_AQ_PHY_TYPE_EXT_25G_KR |
23092309
I40E_AQ_PHY_TYPE_EXT_25G_CR | I40E_AQ_PHY_TYPE_EXT_25G_SR |
2310-
I40E_AQ_PHY_TYPE_EXT_25G_LR) : 0;
2310+
I40E_AQ_PHY_TYPE_EXT_25G_LR | I40E_AQ_PHY_TYPE_EXT_25G_AOC |
2311+
I40E_AQ_PHY_TYPE_EXT_25G_ACC) : 0;
23112312
phy_conf.fec_config = phy_ab.fec_cfg_curr_mod_ext_info;
23122313
phy_conf.eee_capability = phy_ab.eee_capability;
23132314
phy_conf.eeer = phy_ab.eeer_val;

0 commit comments

Comments
 (0)