18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/****************************************************************************
38c2ecf20Sopenharmony_ci * Driver for Solarflare network controllers and boards
48c2ecf20Sopenharmony_ci * Copyright 2019 Solarflare Communications Inc.
58c2ecf20Sopenharmony_ci * Copyright 2019-2020 Xilinx Inc.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify it
88c2ecf20Sopenharmony_ci * under the terms of the GNU General Public License version 2 as published
98c2ecf20Sopenharmony_ci * by the Free Software Foundation, incorporated herein by reference.
108c2ecf20Sopenharmony_ci */
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#ifndef EFX_EF100_TX_H
138c2ecf20Sopenharmony_ci#define EFX_EF100_TX_H
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#include "net_driver.h"
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciint ef100_tx_probe(struct efx_tx_queue *tx_queue);
188c2ecf20Sopenharmony_civoid ef100_tx_init(struct efx_tx_queue *tx_queue);
198c2ecf20Sopenharmony_civoid ef100_tx_write(struct efx_tx_queue *tx_queue);
208c2ecf20Sopenharmony_ciunsigned int ef100_tx_max_skb_descs(struct efx_nic *efx);
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_civoid ef100_ev_tx(struct efx_channel *channel, const efx_qword_t *p_event);
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_cinetdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
258c2ecf20Sopenharmony_ci#endif
26