commit | 9a9f8d1e749a5c4df167bc964277c75b952e32b5 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Thu Feb 20 09:07:48 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 20 10:04:33 2020 -0800 |
tree | c008297d72224b6e5e8e452fdad017456401c2bb | |
parent | 6c5a688e7544ff1355bd89097f93ec6013bf6492 [diff] |
mlxsw: spectrum_span: Do no expose mirroring agents to entire driver The struct holding the different mirroring agents is currently allocated as part of the main driver struct. This is unlike other driver modules. Allocate the memory required to store the different mirroring agents as part of the initialization of the mirroring module. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>