summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw_switchdev.h
blob: 04a045dba7d44a05a4349f5efb8e7fc5132a44f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Texas Instruments Ethernet Switch Driver
 */

#ifndef DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_
#define DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_

#include <net/switchdev.h>

bool cpsw_port_dev_check(const struct net_device *dev);
int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);

#endif /* DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_ */