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