commit | 93e18d61bfa950aaffff5fccde0f974e1e038f83 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri May 11 17:16:35 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon May 14 14:49:40 2018 -0400 |
tree | 3ee67f8867eebd0580d43acf303f00357a5c59a2 | |
parent | 408d2debb03e15f3dd3063a5a14befd3390c6eab [diff] |
net: dsa: mv88e6xxx: add IEEE and IP mapping ops All Marvell switch families except 88E6390 have direct registers in Global 1 for IEEE and IP priorities override mapping. The 88E6390 uses indirect tables instead. Add .ieee_pri_map and .ip_pri_map ops to distinct that and call them from a mv88e6xxx_pri_setup helper. Only non-6390 are concerned ATM. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>