commit | 5f6935c6a4eafd853489c70d6ef3250296a4d534 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Tue May 16 19:38:26 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 17 14:06:54 2017 -0400 |
tree | c88858a61e78795559f6957b7bf383500704485d | |
parent | 9011b677e7564ebd27e0bd8379ddd9d1649106b4 [diff] |
mlxsw: spectrum_switchdev: Reduce scope of bridge struct Some attributes in the global chip struct are only relevant for bridge operation, so encapsulate them in their own struct that isn't exposed to non-bridge code. This will also help us later, when we add more bridge-specific attributes. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>