18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright (c) 2018 Mellanox Technologies. All rights reserved */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#include <linux/netdevice.h> 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_cistruct mlxsw_sp_bridge; 78c2ecf20Sopenharmony_cistruct mlxsw_sp_bridge_port; 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct mlxsw_sp_bridge_port * 108c2ecf20Sopenharmony_cimlxsw_sp_bridge_port_find(struct mlxsw_sp_bridge *bridge, 118c2ecf20Sopenharmony_ci struct net_device *brport_dev); 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciu8 mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port); 14