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 2005-2006 Fen Systems Ltd.
0005  * Copyright 2006-2015 Solarflare Communications Inc.
0006  */
0007 
0008 #ifndef EF4_TX_H
0009 #define EF4_TX_H
0010 
0011 #include <linux/types.h>
0012 
0013 /* Driver internal tx-path related declarations. */
0014 
0015 unsigned int ef4_tx_limit_len(struct ef4_tx_queue *tx_queue,
0016                   dma_addr_t dma_addr, unsigned int len);
0017 
0018 u8 *ef4_tx_get_copy_buffer_limited(struct ef4_tx_queue *tx_queue,
0019                    struct ef4_tx_buffer *buffer, size_t len);
0020 
0021 int ef4_enqueue_skb_tso(struct ef4_tx_queue *tx_queue, struct sk_buff *skb,
0022             bool *data_mapped);
0023 
0024 #endif /* EF4_TX_H */