The above commit makes sure flow control settings are handled by netifd even for SFP devices. You should not use rc.local
for this.
You may instead add a device section to /etc/config/network
:
config device
option name 'eth1'
option rxpause '1'
option txpause '1'
Using the rxpause
or txpause
option disables flow control autonegotiation, while the pause
or asympause
control the advertised flow control support.