summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-21 19:54:07 +0200
committerDavid S. Miller <davem@davemloft.net>2020-02-22 21:24:51 -0800
commit2a60c460b5889d5892ac809f7a26ab89e2580bf8 (patch)
tree1b0250ad6ce97aea3253840b7d0ce9edef5adb8a /drivers/net/ethernet/mellanox/mlxsw/spectrum.h
parentf38656d067257cc43b652958dd154e1ab0773701 (diff)
mlxsw: spectrum_router: Expose router struct to internal users
The dpipe code accesses internal router data structures and acquires RTNL to protect against their changes. Subsequent patches will remove reliance on RTNL and introduce a dedicated lock to protect router data structures. Publish the router struct to internal users such as the dpipe, so that they could acquire it instead of RTNL. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
0 files changed, 0 insertions, 0 deletions