You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applies to all versions including master branch,
but only in ath79 target
old ar71xx target does not have the problem
for the internal built-in switch for ar934x series
port 5 of the switch is missing, and therefore physical ports
that are connected to port 5 of the internal switch instead of GMAC0
cannot be used.
Attempting to set a VLAN that includes port 5 never takes effect.
This issue is not noticed for many other ar934x boards with 5 physical ports
because routers with 4 LAN and 1 WAN port use GMAC0 for the WAN port
instead of port 5 of the internal switch.
in ar71xx the driver is
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c
in ath79 the new driver is
target/linux/generic/files/drivers/net/phy/ar8216.c
for 2 of my AR9341 boards
EAP300 v2 and ENS202EXT
port 5 is missing from swconfig output
ath79 output:
root@OpenWrt:~# swconfig dev switch0 show
Global attributes:
enable_vlan: 1
ar8xxx_mib_poll_interval: 500
ar8xxx_mib_type: 0
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
arl_table: address resolution table
Port 0: MAC 88:dc:96:34:64:d4
Port 1: MAC 00:e1:18:b0:01:1f
pvid: 1
link: port:1 link:up speed:100baseT full-duplex auto
Port 2:
mib: No MIB data
pvid: 0
link: port:2 link:down
Port 3:
mib: No MIB data
pvid: 0
link: port:3 link:down
Port 4:
mib: No MIB data
pvid: 0
link: port:4 link:down
VLAN 1:
vid: 1
ports: 0t 1
mcpratt:
Applies to all versions including master branch,
but only in ath79 target
old ar71xx target does not have the problem
for the internal built-in switch for ar934x series
port 5 of the switch is missing, and therefore physical ports
that are connected to port 5 of the internal switch instead of GMAC0
cannot be used.
Attempting to set a VLAN that includes port 5 never takes effect.
This issue is not noticed for many other ar934x boards with 5 physical ports
because routers with 4 LAN and 1 WAN port use GMAC0 for the WAN port
instead of port 5 of the internal switch.
in ar71xx the driver is
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c
in ath79 the new driver is
target/linux/generic/files/drivers/net/phy/ar8216.c
for 2 of my AR9341 boards
EAP300 v2 and ENS202EXT
port 5 is missing from swconfig output
ath79 output:
root@OpenWrt:~# swconfig dev switch0 show Global attributes: enable_vlan: 1 ar8xxx_mib_poll_interval: 500 ar8xxx_mib_type: 0 enable_mirror_rx: 0 enable_mirror_tx: 0 mirror_monitor_port: 0 mirror_source_port: 0 arl_table: address resolution table Port 0: MAC 88:dc:96:34:64:d4 Port 1: MAC 00:e1:18:b0:01:1f
Port 0:
mib: MIB counters
RxGoodByte : 810502 (791.5 KiB)
TxByte : 505477 (493.6 KiB)
Port 1:
mib: MIB counters
RxGoodByte : 493285 (481.7 KiB)
TxByte : 802608 (783.7 KiB)
Port 2:
mib: No MIB data
pvid: 0
link: port:2 link:down
Port 3:
mib: No MIB data
pvid: 0
link: port:3 link:down
Port 4:
mib: No MIB data
pvid: 0
link: port:4 link:down
VLAN 1:
vid: 1
ports: 0t 1
ar71xx output:
root@OpenWrt:/# swconfig dev switch0 show Global attributes: enable_vlan: 1 mirror_monitor_port: 15 Port 0: enable_mirror_rx: 0 enable_mirror_tx: 0 pvid: 0 link: port:0 link:up speed:1000baseT full-duplex txflow rxflow Port 1: enable_mirror_rx: 0 enable_mirror_tx: 0 pvid: 2 link: port:1 link:down Port 2: enable_mirror_rx: 0 enable_mirror_tx: 0 pvid: 1 link: port:2 link:down Port 3: enable_mirror_rx: 0 enable_mirror_tx: 0 pvid: 1 link: port:3 link:down Port 4: enable_mirror_rx: 0 enable_mirror_tx: 0 pvid: 1 link: port:4 link:down Port 5: enable_mirror_rx: 0 enable_mirror_tx: 0 pvid: 1 link: port:5 link:down VLAN 0: vid: 0 ports: 0t VLAN 1: vid: 1 ports: 0t 2 3 4 5 VLAN 2: vid: 2 ports: 0t 1
asking for port 5 specifically returns ???
root@OpenWrt:/# swconfig dev switch0 port 5 show Port 5: mib: ??? pvid: ??? link: ???
The text was updated successfully, but these errors were encountered: