18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved. */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef _PRESTERA_RXTX_H_ 58c2ecf20Sopenharmony_ci#define _PRESTERA_RXTX_H_ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <linux/netdevice.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct prestera_switch; 108c2ecf20Sopenharmony_cistruct prestera_port; 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciint prestera_rxtx_switch_init(struct prestera_switch *sw); 138c2ecf20Sopenharmony_civoid prestera_rxtx_switch_fini(struct prestera_switch *sw); 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciint prestera_rxtx_port_init(struct prestera_port *port); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cinetdev_tx_t prestera_rxtx_xmit(struct prestera_port *port, struct sk_buff *skb); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#endif /* _PRESTERA_RXTX_H_ */ 20