aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-02-10 22:23:41 +0000
committerBen Hutchings <bhutchings@solarflare.com>2012-02-16 00:25:06 +0000
commit90893000e21e2d52a0a9d5aa0c4234c90bcd9470 (patch)
treed79095dec77ae137c2fe4c7a8e9e9d606846b321 /drivers/net/ethernet/sfc/nic.h
parentsfc: Use proper function to test for RX channel in efx_poll() (diff)
downloadlinux-dev-90893000e21e2d52a0a9d5aa0c4234c90bcd9470.tar.xz
linux-dev-90893000e21e2d52a0a9d5aa0c4234c90bcd9470.zip
sfc: Generalise event generation to cover VF-owned event queues
For SR-IOV we will need to send events to event queues that belong to VFs serviced by other drivers. Change the parameters of efx_generate_event() to allow this and declare it extern. While we're at it, remove the existing declaration under the wrong name efx_nic_generate_event(). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/sfc/nic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h
index aeca4e8bb4c2..1f53e2c7cfd7 100644
--- a/drivers/net/ethernet/sfc/nic.h
+++ b/drivers/net/ethernet/sfc/nic.h
@@ -283,8 +283,8 @@ extern void efx_nic_get_regs(struct efx_nic *efx, void *buf);
#define MAC_DATA_LBN 0
#define MAC_DATA_WIDTH 32
-extern void efx_nic_generate_event(struct efx_channel *channel,
- efx_qword_t *event);
+extern void efx_generate_event(struct efx_nic *efx, unsigned int evq,
+ efx_qword_t *event);
extern void falcon_poll_xmac(struct efx_nic *efx);