Modify

Opened 2 years ago

Last modified 23 months ago

#21908 new defect

VLAN Switchdriver broken

Reported by: heil Owned by: developers
Priority: normal Milestone: Designated Driver (Trunk)
Component: kernel Version: Trunk
Keywords: Cc:

Description

When trying to use vlans with mt7530 I got this results
--
VLAN 1:

vid: 0
ports: 0 1 3 6t

VLAN 2:

vid: 0
ports: 6t

VLAN 3:

vid: 0
ports: 2 6t

--
with a working switch driver e.g ag71xx-mdio.0 I get
--
VLAN 1:

vid: 1
ports: 0t 1t 2t 3 4

VLAN 2:

vid: 2
ports: 0t 5

VLAN 3:

vid: 21
ports: 0t 1 2

--
I was not able to set the vid, even via cmdline
--
swconfig dev mt7530 vlan 3 set vid 64
--

Maybe its just a simple typo? I was using trunk fresh from b90dfd38d174a9424449d3a76c1fa5f3abc60ef0

Attachments (0)

Change History (1)

comment:1 Changed 23 months ago by albeu@…

I'm facing the same problem with CC and DD. Furthermore the PVID is also set incorrectly on the ports, it seems to be set to VLAN id instead of the VID.

I tried to add few debug messages to the driver and I found out that the writes to the VID registers are not working. It doesn't matter what the driver writes, reads always return 0.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.