so I have been doing some tests using the mdio utility ...
mdio
90000.mdio-1
fixed-0
mdio 9*
DEV PHY-ID LINK
0x00 0x00000000 down
0x08 0x00000000 down
0x10 0x004dd0b1 up
0x11 0x004dd0b1 down
0x12 0x004dd0b1 down
0x13 0x004dd0b1 up
0x14 0x004dd0b1 down
0x15 0x04820a05 down
listing the settings for the devices that are up - the aquantias are not showing i presume as I don't capabilities higher than 1000
mdio 9* 0x00
BMCR(0x00): 0x1040
flags: -reset -loopback +aneg-enable -power-down -isolate -aneg-restart
-collision-test
speed: 1000-half
BMSR(0x01): 0x6148
capabilities: -100-t4 +100-tx-f +100-tx-h -10-t-f -10-t-h -100-t2-f -100-t2-h
flags: +ext-status -aneg-complete -remote-fault +aneg-capable -link
-jabber -ext-register
ID(0x02/0x03): 00000000
ESTATUS(0x0F): 0000
capabilities: -1000-x-f -1000-x-h -1000-t-f -1000-t-h
root@dragonfly-qnap:~# mdio 9* 0x13
BMCR(0x00): 0x1040
flags: -reset -loopback +aneg-enable -power-down -isolate -aneg-restart
-collision-test
speed: 1000-half
BMSR(0x01): 0x796d
capabilities: -100-t4 +100-tx-f +100-tx-h +10-t-f +10-t-h -100-t2-f -100-t2-h
flags: +ext-status +aneg-complete -remote-fault +aneg-capable +link
-jabber +ext-register
ID(0x02/0x03): 0x004dd0b1
ESTATUS(0x0F): 0x2000
capabilities: -1000-x-f -1000-x-h +1000-t-f -1000-t-h
mdio is reporting speed is half " speed: 1000-half" ... is this correct? ethtool shows 1000b/s
Settings for lan1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred master
master-slave status: master
Port: MII
PHYAD: 19
Transceiver: external
Link detected: yes
is this normal that mdio reports a different speed value than ethtool ? what takes precedence?
how about the aquantias why aren't they showing? under /sys/bus/mdio_bus I only can see Aquantia drivers ...
so I am confused !