diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-04-27 07:55:59 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-29 01:42:43 -0400 |
commit | 8ceee660aacb29721e26f08e336c58dc4847d1bd (patch) | |
tree | 158122642e6f21fe85d072c50d6185a0d0cf6834 /drivers/net/sfc/rx.h | |
parent | 358c12953b88c5a06a57c33eb27c753b2e7934d1 (diff) |
New driver "sfc" for Solarstorm SFC4000 controller.
The driver supports the 10Xpress PHY and XFP modules on our reference
designs SFE4001 and SFE4002 and the SMC models SMC10GPCIe-XFP and
SMC10GPCIe-10BT.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/rx.h')
-rw-r--r-- | drivers/net/sfc/rx.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/net/sfc/rx.h b/drivers/net/sfc/rx.h new file mode 100644 index 000000000000..f35e377bfc5f --- /dev/null +++ b/drivers/net/sfc/rx.h | |||
@@ -0,0 +1,29 @@ | |||
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 | |||
10 | #ifndef EFX_RX_H | ||
11 | #define EFX_RX_H | ||
12 | |||
13 | #include "net_driver.h" | ||
14 | |||
15 | int efx_probe_rx_queue(struct efx_rx_queue *rx_queue); | ||
16 | void efx_remove_rx_queue(struct efx_rx_queue *rx_queue); | ||
17 | int efx_init_rx_queue(struct efx_rx_queue *rx_queue); | ||
18 | void efx_fini_rx_queue(struct efx_rx_queue *rx_queue); | ||
19 | |||
20 | int efx_lro_init(struct net_lro_mgr *lro_mgr, struct efx_nic *efx); | ||
21 | void efx_lro_fini(struct net_lro_mgr *lro_mgr); | ||
22 | void efx_flush_lro(struct efx_channel *channel); | ||
23 | void efx_rx_strategy(struct efx_channel *channel); | ||
24 | void efx_fast_push_rx_descriptors(struct efx_rx_queue *rx_queue); | ||
25 | void efx_rx_work(struct work_struct *data); | ||
26 | void __efx_rx_packet(struct efx_channel *channel, | ||
27 | struct efx_rx_buffer *rx_buf, int checksummed); | ||
28 | |||
29 | #endif /* EFX_RX_H */ | ||