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 
7 int prestera_switchdev_init(struct prestera_switch *sw);
8 void prestera_switchdev_fini(struct prestera_switch *sw);
9 
10 int prestera_bridge_port_event(struct net_device *dev, unsigned long event,
11 			       void *ptr);
12 
13 #endif /* _PRESTERA_SWITCHDEV_H_ */
14