]> 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)
commitb794b8f65303785a41d5408ede672eb5b6adb936
tree227544a4d8046188d366d8cd864dbcd0c3bd9b94
parentfa69fde52ac3ae2bce6246c110bbca922eb96e1d
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