rx.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /****************************************************************************
  2. * Driver for Solarflare Solarstorm network controllers and boards
  3. * Copyright 2006 Solarflare Communications Inc.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of the GNU General Public License version 2 as published
  7. * by the Free Software Foundation, incorporated herein by reference.
  8. */
  9. #ifndef EFX_RX_H
  10. #define EFX_RX_H
  11. #include "net_driver.h"
  12. int efx_probe_rx_queue(struct efx_rx_queue *rx_queue);
  13. void efx_remove_rx_queue(struct efx_rx_queue *rx_queue);
  14. void efx_init_rx_queue(struct efx_rx_queue *rx_queue);
  15. void efx_fini_rx_queue(struct efx_rx_queue *rx_queue);
  16. int efx_lro_init(struct net_lro_mgr *lro_mgr, struct efx_nic *efx);
  17. void efx_lro_fini(struct net_lro_mgr *lro_mgr);
  18. void efx_flush_lro(struct efx_channel *channel);
  19. void efx_rx_strategy(struct efx_channel *channel);
  20. void efx_fast_push_rx_descriptors(struct efx_rx_queue *rx_queue);
  21. void efx_rx_work(struct work_struct *data);
  22. void __efx_rx_packet(struct efx_channel *channel,
  23. struct efx_rx_buffer *rx_buf, bool checksummed);
  24. #endif /* EFX_RX_H */