I currently use the openwrt master source code, it not included the DSA-driver patch, and can’t use ethtool, ip link, ifstatus, /sys/class/net/eth1/operstate, /sys/class/net/eth1/carrier to get the correctly switch port link state.
If apply the DSA-driver patch, the ethtool can get the correctly switch port link state?
It seems @Ivan_Revyakin can use swconfig to get the correctly state, have you apply the DSA-driver patch?