162306a36Sopenharmony_ci/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 262306a36Sopenharmony_ci/* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved. */ 362306a36Sopenharmony_ci 462306a36Sopenharmony_ci#ifndef _PRESTERA_SWITCHDEV_H_ 562306a36Sopenharmony_ci#define _PRESTERA_SWITCHDEV_H_ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciint prestera_switchdev_init(struct prestera_switch *sw); 862306a36Sopenharmony_civoid prestera_switchdev_fini(struct prestera_switch *sw); 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciint prestera_bridge_port_join(struct net_device *br_dev, 1162306a36Sopenharmony_ci struct prestera_port *port, 1262306a36Sopenharmony_ci struct netlink_ext_ack *extack); 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_civoid prestera_bridge_port_leave(struct net_device *br_dev, 1562306a36Sopenharmony_ci struct prestera_port *port); 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci#endif /* _PRESTERA_SWITCHDEV_H_ */ 18