cpsw_switchdev.h 465 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Texas Instruments Ethernet Switch Driver
  4. */
  5. #ifndef DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_
  6. #define DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_
  7. #include <net/switchdev.h>
  8. bool cpsw_port_dev_check(const struct net_device *dev);
  9. int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
  10. void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);
  11. #endif /* DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_ */