]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0418624156d3973d58110308ef5cbca8c5844f28
treea048931578d6f8fc088c5edfbf0352e5fa94a971
parentbe874dcad27d6ab873e65da7078d4817d0631fbd
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]