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

prestera_switchdev.h (579B)


      1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
      2/* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved. */
      3
      4#ifndef _PRESTERA_SWITCHDEV_H_
      5#define _PRESTERA_SWITCHDEV_H_
      6
      7int prestera_switchdev_init(struct prestera_switch *sw);
      8void prestera_switchdev_fini(struct prestera_switch *sw);
      9
     10int prestera_bridge_port_join(struct net_device *br_dev,
     11			      struct prestera_port *port,
     12			      struct netlink_ext_ack *extack);
     13
     14void prestera_bridge_port_leave(struct net_device *br_dev,
     15				struct prestera_port *port);
     16
     17#endif /* _PRESTERA_SWITCHDEV_H_ */