]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit009ea87fc81b2277428210edbf30dacf43c62d02
treed79095dec77ae137c2fe4c7a8e9e9d606846b321
parent7e8d74657d43330eb23d33b5765876fc1b1bbe40
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