Skip to content

Commit d7739b0

Browse files
pthombarcdnskuba-moo
authored andcommitted
net: macb: fix for pause frame receive enable bit
PAE bit of NCFGR register, when set, pauses transmission if a non-zero 802.3 classic pause frame is received. Fixes: 7897b07 ("net: macb: convert to phylink") Signed-off-by: Parshuram Thombare <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 94cc242 commit d7739b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/ethernet/cadence/macb_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,7 @@ static void macb_mac_link_up(struct phylink_config *config,
647647
ctrl |= GEM_BIT(GBE);
648648
}
649649

650-
/* We do not support MLO_PAUSE_RX yet */
651-
if (tx_pause)
650+
if (rx_pause)
652651
ctrl |= MACB_BIT(PAE);
653652

654653
macb_set_tx_clk(bp->tx_clk, speed, ndev);

0 commit comments

Comments
 (0)