xref: /linux/drivers/net/ethernet/sfc/ef100_rx.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /****************************************************************************
3  * Driver for Solarflare network controllers and boards
4  * Copyright 2019 Solarflare Communications Inc.
5  * Copyright 2019-2020 Xilinx Inc.
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License version 2 as published
9  * by the Free Software Foundation, incorporated herein by reference.
10  */
11 
12 #ifndef EFX_EF100_RX_H
13 #define EFX_EF100_RX_H
14 
15 #include "net_driver.h"
16 
17 bool ef100_rx_buf_hash_valid(const u8 *prefix);
18 void efx_ef100_ev_rx(struct efx_channel *channel, const efx_qword_t *p_event);
19 void ef100_rx_write(struct efx_rx_queue *rx_queue);
20 void __ef100_rx_packet(struct efx_channel *channel);
21 
22 #endif
23