Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /****************************************************************************
0003  * Driver for Solarflare network controllers and boards
0004  * Copyright 2019 Solarflare Communications Inc.
0005  * Copyright 2019-2020 Xilinx Inc.
0006  *
0007  * This program is free software; you can redistribute it and/or modify it
0008  * under the terms of the GNU General Public License version 2 as published
0009  * by the Free Software Foundation, incorporated herein by reference.
0010  */
0011 
0012 #ifndef EFX_EF100_TX_H
0013 #define EFX_EF100_TX_H
0014 
0015 #include "net_driver.h"
0016 #include "ef100_rep.h"
0017 
0018 int ef100_tx_probe(struct efx_tx_queue *tx_queue);
0019 void ef100_tx_init(struct efx_tx_queue *tx_queue);
0020 void ef100_tx_write(struct efx_tx_queue *tx_queue);
0021 unsigned int ef100_tx_max_skb_descs(struct efx_nic *efx);
0022 
0023 void ef100_ev_tx(struct efx_channel *channel, const efx_qword_t *p_event);
0024 
0025 netdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
0026 int __ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
0027             struct efx_rep *efv);
0028 #endif