cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

spectrum_switchdev.h (411B)


      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);