Re: [PATCH net-next 09/18] net: dsa: mv88e6xxx: move VTU Data accessors
From: Andrew Lunn <andrew@lunn.ch>
Date: 2017-04-27 19:19:53
Also in:
lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2017-04-27 19:19:53
Also in:
lkml
On Wed, Apr 26, 2017 at 11:53:27AM -0400, Vivien Didelot wrote:
The code to access the VTU Data registers currently only supports the 88E6185 family and alike: 2-bit membership adjacent to 2-bit port state. Even though the 88E6352 family introduced an indirect table to program the VLAN Spanning Tree states, the usage of the VTU Data registers remains the same regardless the VTU or STU operation. Now that the mv88e6xxx_vtu_entry structure contains both port membership and states data, factorize the code to access them in global1_vtu.c. Signed-off-by: Vivien Didelot <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew