Skip to content

Commit e39ed71

Browse files
Jiawen Wukuba-moo
authored andcommitted
net: txgbe: fix the issue of TX failure
There is a occasional problem that ping is failed between AML devices. That is because the manual enablement of the security Tx path on the hardware is missing, no matter what its previous state was. Fixes: 6f8b4c0 ("net: txgbe: Implement PHYLINK for AML 25G/10G devices") Signed-off-by: Jiawen Wu <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 60f7f4a commit e39ed71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ static void txgbe_mac_link_up_aml(struct phylink_config *config,
294294
wx_fc_enable(wx, tx_pause, rx_pause);
295295

296296
txgbe_reconfig_mac(wx);
297+
txgbe_enable_sec_tx_path(wx);
297298

298299
txcfg = rd32(wx, TXGBE_AML_MAC_TX_CFG);
299300
txcfg &= ~TXGBE_AML_MAC_TX_CFG_SPEED_MASK;

0 commit comments

Comments
 (0)