]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Add support for 'extra' channel types
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 13 Feb 2012 23:45:02 +0000 (23:45 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 16 Feb 2012 00:25:10 +0000 (00:25 +0000)
commitd042fc661deee049c4a1d2e0006ab0aa14909735
treec3ad2e039a8596ecbf9c7d1dc58bc8a251ecd8d2
parent662e698ee961ba3620f052bd3d39698f8d2c5410
sfc: Add support for 'extra' channel types

Abstract some of the channel operations to allow for 'extra'
channels that do not have RX or TX queues.

- Try to assign a channel to each extra channel type that is enabled
  for the NIC, but gracefully degrade if we can't allocate sufficient
  MSI-X vectors
- Allow each extra channel type to generate its own channel name
- Allow channel types to disable reallocation and reinitialisation
  of their channels

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/net_driver.h