OSDN Git Service

mlxsw: spectrum_switchdev: Publish two functions
authorPetr Machata <petrm@mellanox.com>
Sun, 29 Apr 2018 07:56:10 +0000 (10:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Apr 2018 16:42:40 +0000 (12:42 -0400)
commitea93c7b6083deebc026ed45b61e050c42322a2a6
treea048931578d6f8fc088c5edfbf0352e5fa94a971
parent541e11595cb27591a7b3f4327472f282f482a5b0
mlxsw: spectrum_switchdev: Publish two functions

Publish the existing function mlxsw_sp_bridge_port_find(), and add
another service accessor mlxsw_sp_bridge_port_stp_state(). Publish both
in a new file spectrum_switchdev.h.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.h [new file with mode: 0644]