File Index
Files and directories
Sign in
FILE

spectrum_switchdev.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.h C
 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);
~/ Read-only file preview.