]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Export RIF dev access function
authorYotam Gigi <yotamg@mellanox.com>
Tue, 19 Sep 2017 08:00:19 +0000 (10:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 21:21:40 +0000 (14:21 -0700)
commitc2dec27d79b784d049a86008cdab4c8cfb2b3bc7
tree227544a4d8046188d366d8cd864dbcd0c3bd9b94
parent57e7626b88df9e00414e0e56e6b9ebb8f9b1c87d
mlxsw: spectrum_router: Export RIF dev access function

The mlxsw_sp_rif struct, defined as private struct in spectrum_router.c
will be used in the multicast router source file. Due to the fact that the
dev field will be needed by the multicast router logic, add an access
function to it.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h