]> Git Repo - J-linux.git/blob - drivers/net/ethernet/marvell/prestera/prestera_switchdev.h
Merge remote-tracking branch 'spi/for-5.14' into spi-linus
[J-linux.git] / drivers / net / ethernet / marvell / prestera / prestera_switchdev.h
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_join(struct net_device *br_dev,
11                               struct prestera_port *port);
12
13 void prestera_bridge_port_leave(struct net_device *br_dev,
14                                 struct prestera_port *port);
15
16 #endif /* _PRESTERA_SWITCHDEV_H_ */
This page took 0.031721 seconds and 4 git commands to generate.