]> 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)
commite935efd3f885c1f401259b02e8edc4dab07be18a
treea048931578d6f8fc088c5edfbf0352e5fa94a971
parent881e4feb4edf1df3456bb4bfcfdfaf7b72cf6045
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]