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_RX_H 138c2ecf20Sopenharmony_ci#define EFX_EF100_RX_H 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#include "net_driver.h" 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cibool ef100_rx_buf_hash_valid(const u8 *prefix); 188c2ecf20Sopenharmony_civoid efx_ef100_ev_rx(struct efx_channel *channel, const efx_qword_t *p_event); 198c2ecf20Sopenharmony_civoid ef100_rx_write(struct efx_rx_queue *rx_queue); 208c2ecf20Sopenharmony_civoid __ef100_rx_packet(struct efx_channel *channel); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif 23