drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.h
raw| 1 | /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ |
| 2 | /* Copyright (c) 2018 Mellanox Technologies. All rights reserved */ |
| 3 | |
| 4 | #include <linux/netdevice.h> |
| 5 | |
| 6 | struct mlxsw_sp_bridge; |
| 7 | struct mlxsw_sp_bridge_port; |
| 8 | |
| 9 | struct mlxsw_sp_bridge_port * |
| 10 | mlxsw_sp_bridge_port_find(struct mlxsw_sp_bridge *bridge, |
| 11 | struct net_device *brport_dev); |
| 12 | |
| 13 | u8 mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port); |