sfc: Generalise event generation to cover VF-owned event queues
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 10 Feb 2012 22:23:41 +0000 (22:23 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 16 Feb 2012 00:25:06 +0000 (00:25 +0000)
commit90893000e21e2d52a0a9d5aa0c4234c90bcd9470
treed79095dec77ae137c2fe4c7a8e9e9d606846b321
parent9d9a6973a890c5b2258e717e4aae716720e60fcb
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>
drivers/net/ethernet/sfc/nic.c
drivers/net/ethernet/sfc/nic.h