diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-05-01 20:05:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-01 21:03:09 +0200 |
commit | bd00e053ae29d3215a9085b5c0add7298bbc417c (patch) | |
tree | ce7e6950d255419e441765d3c5c1c66507cf861d /drivers/crypto | |
parent | net: dsa: mv88e6xxx: add max VID to info (diff) | |
download | linux-bd00e053ae29d3215a9085b5c0add7298bbc417c.tar.xz linux-bd00e053ae29d3215a9085b5c0add7298bbc417c.zip |
net: dsa: mv88e6xxx: split VTU entry data member
VLAN aware Marvell chips can program 802.1Q VLAN membership as well as
802.1s per VLAN Spanning Tree state using the same 3 VTU Data registers.
Some chips such as 88E6185 use different Data registers offsets for
ports state and membership, and program them in a single operation.
Other chips such as 88E6352 use the same register layout but program
them in distinct operations (an indirect table is used for 802.1s.)
Newer chips such as 88E6390 use the same offsets for both state and
membership in distinct operations, thus require multiple data accesses.
To correctly abstract this, split the "data" structure member of
mv88e6xxx_vtu_entry in two "state" and "member" members, before adding
VTU support for newer chips.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions