prestera_rxtx.h 555 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
  2. /* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved. */
  3. #ifndef _PRESTERA_RXTX_H_
  4. #define _PRESTERA_RXTX_H_
  5. #include <linux/netdevice.h>
  6. struct prestera_switch;
  7. struct prestera_port;
  8. int prestera_rxtx_switch_init(struct prestera_switch *sw);
  9. void prestera_rxtx_switch_fini(struct prestera_switch *sw);
  10. int prestera_rxtx_port_init(struct prestera_port *port);
  11. netdev_tx_t prestera_rxtx_xmit(struct prestera_port *port, struct sk_buff *skb);
  12. #endif /* _PRESTERA_RXTX_H_ */