diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-02-08 00:49:52 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-02-16 01:15:03 +0100 |
commit | 2ae75dac301b0f255f79cd84ac70c619e55d7694 (patch) | |
tree | e9e6f63e02d23e0d76fa2a8fd092c50454d25ecc /drivers/net/ethernet/sfc/nic.h | |
parent | sfc: Generalise driver event generation (diff) | |
download | linux-2ae75dac301b0f255f79cd84ac70c619e55d7694.tar.xz linux-2ae75dac301b0f255f79cd84ac70c619e55d7694.zip |
sfc: Generate RX fill events based on RX queues, not channels
This makes it harder to accidentally send such events to TX-only
channels.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.h')
-rw-r--r-- | drivers/net/ethernet/sfc/nic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h index 4f9d18ac92fe..aeca4e8bb4c2 100644 --- a/drivers/net/ethernet/sfc/nic.h +++ b/drivers/net/ethernet/sfc/nic.h @@ -195,6 +195,7 @@ extern void efx_nic_init_rx(struct efx_rx_queue *rx_queue); extern void efx_nic_fini_rx(struct efx_rx_queue *rx_queue); extern void efx_nic_remove_rx(struct efx_rx_queue *rx_queue); extern void efx_nic_notify_rx_desc(struct efx_rx_queue *rx_queue); +extern void efx_nic_generate_fill_event(struct efx_rx_queue *rx_queue); /* Event data path */ extern int efx_nic_probe_eventq(struct efx_channel *channel); @@ -216,7 +217,6 @@ extern void falcon_update_stats_xmac(struct efx_nic *efx); extern int efx_nic_init_interrupt(struct efx_nic *efx); extern void efx_nic_enable_interrupts(struct efx_nic *efx); extern void efx_nic_generate_test_event(struct efx_channel *channel); -extern void efx_nic_generate_fill_event(struct efx_channel *channel); extern void efx_nic_generate_interrupt(struct efx_nic *efx); extern void efx_nic_disable_interrupts(struct efx_nic *efx); extern void efx_nic_fini_interrupt(struct efx_nic *efx); |