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
6struct mlxsw_sp_bridge;
7struct mlxsw_sp_bridge_port;
8
9struct mlxsw_sp_bridge_port *
10mlxsw_sp_bridge_port_find(struct mlxsw_sp_bridge *bridge,
11 struct net_device *brport_dev);
12
13u8 mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port);
14

source code of linux/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.h