net: ethernet: ti: am65-cpsw: rx_pause/tx_pause controls wrong direction
authorRonald Wahl <ronald.wahl@raritan.com>
Tue, 31 Oct 2023 12:20:05 +0000 (13:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Nov 2023 11:33:18 +0000 (11:33 +0000)
commit153a58c6d8976f289b52e6652932c1cb28a2eacd
treec01cd05154053570427aa3d6e4887ae0e2131145
parentcdbab6236605dc11780779d9af689aea7d58cab1
net: ethernet: ti: am65-cpsw: rx_pause/tx_pause controls wrong direction

The rx_pause flag says that whether we support receiving Pause frames.
When a Pause frame is received TX is delayed for some time. This is TX
flow control. In the same manner tx_pause is actually RX flow control.

Signed-off-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/am65-cpsw-nuss.c