mt7621 / mt7530 programming: Disabling Flow Control on All Ports

Jaap Buurman jaapbuurman at gmail.com
Tue Oct 6 09:35:17 EDT 2020


Dear all,

I am trying to disable flow control on all ports on my mt7621 device
with the mt7530 switch, however, I am having difficulties with getting
this to work. From Mediatek's documentation, setting a MAC's
register's 15th bit (FORCE_MODE_PU) to 1 allows you to force certain
settings. Then setting the 4th and 5th bit to 0 (FORCE_TX_FC_PU and
FORCE_RX_FC_PU respectively) should force flow control off for both
the TX and RX stream. However, when writing these values with the
existing mt7530_mdio_w32 function to the correct registers, flow
control still seems to be enabled and advertised on the router's side.
Running ethtool on my desktop gives me the following:

Link partner advertised pause frame use: Symmetric

Is there anyone that knows how to force flow control off on ALL ports?
In the following topic you can read about what I've already tried:
https://forum.openwrt.org/t/mt7621-mt7530-programming-disabling-flow-control-on-all-ports/76006/4

Thank you very much in advance!

Yours sincerely,

Jaap Buurman



More information about the openwrt-devel mailing list