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_RXTX_H_ 562306a36Sopenharmony_ci#define _PRESTERA_RXTX_H_ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#include <linux/netdevice.h> 862306a36Sopenharmony_ci 962306a36Sopenharmony_cistruct prestera_switch; 1062306a36Sopenharmony_cistruct prestera_port; 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciint prestera_rxtx_switch_init(struct prestera_switch *sw); 1362306a36Sopenharmony_civoid prestera_rxtx_switch_fini(struct prestera_switch *sw); 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciint prestera_rxtx_port_init(struct prestera_port *port); 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_cinetdev_tx_t prestera_rxtx_xmit(struct prestera_port *port, struct sk_buff *skb); 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci#endif /* _PRESTERA_RXTX_H_ */ 20