xref: /openbmc/linux/drivers/net/ethernet/sfc/ef100_rx.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
151b35a45SEdward Cree /* SPDX-License-Identifier: GPL-2.0-only */
251b35a45SEdward Cree /****************************************************************************
351b35a45SEdward Cree  * Driver for Solarflare network controllers and boards
451b35a45SEdward Cree  * Copyright 2019 Solarflare Communications Inc.
551b35a45SEdward Cree  * Copyright 2019-2020 Xilinx Inc.
651b35a45SEdward Cree  *
751b35a45SEdward Cree  * This program is free software; you can redistribute it and/or modify it
851b35a45SEdward Cree  * under the terms of the GNU General Public License version 2 as published
951b35a45SEdward Cree  * by the Free Software Foundation, incorporated herein by reference.
1051b35a45SEdward Cree  */
1151b35a45SEdward Cree 
1251b35a45SEdward Cree #ifndef EFX_EF100_RX_H
1351b35a45SEdward Cree #define EFX_EF100_RX_H
1451b35a45SEdward Cree 
1551b35a45SEdward Cree #include "net_driver.h"
1651b35a45SEdward Cree 
17*06888543SEdward Cree bool ef100_rx_buf_hash_valid(const u8 *prefix);
188e57daf7SEdward Cree void efx_ef100_ev_rx(struct efx_channel *channel, const efx_qword_t *p_event);
19965b549fSEdward Cree void ef100_rx_write(struct efx_rx_queue *rx_queue);
2051b35a45SEdward Cree void __ef100_rx_packet(struct efx_channel *channel);
2151b35a45SEdward Cree 
2251b35a45SEdward Cree #endif
23