linux-stable/drivers/net/ethernet
Shradha Shah b0fbdae127 sfc: Allow driver to cope with a lower number of VIs than it needs for RSS
Previously, the driver would refuse to load if it couldn't secure
enough VIs from the MC to fulfill its RSS requirements.
This was causing probe to fail on later functions in
configurations where we'd run out of VIs, such as having many
VFs.

This change allows the driver to load with fewer VIs, down to a
minimum of 2. A warning will be printed saying that RSS
requirements were not met, possibly affecting performance.

efx->max_tx_channels needs to be set to avoid going down the
failure path in efx_probe_nic() immediately in the loop after the
probe() NIC-type function.
Also, Set rc=ENOSPC when bombing out of efx_probe_nic due to lack
of VIs.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-28 13:53:47 -07:00
..
3com 3c59x: Add BQL support for 3c59x ethernet driver. 2015-08-24 12:20:58 -07:00
8390
adaptec
adi
aeroflex
agere
allwinner net: sun4i-emac: Claim emac sram 2015-08-25 13:48:59 -07:00
alteon
altera net: eth: altera: Remove sgdmadesclen member from altera_tse_private 2015-08-12 14:31:07 -07:00
amd
apm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-27 21:45:31 -07:00
apple
arc
atheros net: atl1c: add BQL support 2015-08-12 16:27:40 -07:00
broadcom Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-27 21:45:31 -07:00
brocade bna: fix interrupts storm caused by erroneous packets 2015-08-10 10:58:37 -07:00
cadence Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-07-31 23:52:20 -07:00
calxeda
cavium Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-13 16:23:11 -07:00
chelsio cxgb4: Force uninitialized state if FW in adapter is unsupported 2015-08-28 13:49:07 -07:00
cirrus
cisco enic: reduce ioread in devcmd2 2015-08-25 16:05:48 -07:00
davicom
dec
dlink
emulex Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-21 11:44:04 -07:00
ezchip NET: nps_enet: minor namespace cleanup 2015-08-23 16:08:54 -07:00
faraday
freescale Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-27 21:45:31 -07:00
fujitsu
hisilicon net: Drop owner assignment from platform_driver 2015-07-10 23:18:29 -07:00
hp
i825xx
ibm ibmveth: add support for TSO6 2015-07-15 21:34:56 -07:00
icplus
intel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-27 21:45:31 -07:00
marvell Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-13 16:23:11 -07:00
mellanox net/mlx4_core: Fix unintialized variable used in error path 2015-08-27 16:40:27 -07:00
micrel net: ethernet: micrel: fix an error code 2015-08-17 12:23:22 -07:00
microchip
moxa
myricom
natsemi
neterion neterion: s2io: Use module_pci_driver 2015-07-09 00:19:00 -07:00
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic qlcnic: Update version to 5.3.63 2015-08-10 13:34:29 -07:00
qualcomm
rdc
realtek r8169: Add software counter for multicast packages 2015-08-28 13:22:50 -07:00
renesas ravb: minimize TX data copying 2015-07-27 01:22:38 -07:00
rocker rocker: use change upper info 2015-08-27 16:28:35 -07:00
samsung
seeq
sfc sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
sgi
silan
sis
smsc smsc911x: Ignore error return from device_get_phy_mode() 2015-08-27 14:24:46 -07:00
stmicro Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-13 16:23:11 -07:00
sun niu: don't count tx error twice in case of headroom realloc fails 2015-07-26 21:17:54 -07:00
synopsys dwc_eth_qos: Add support for Synopsys DWC Ethernet QoS 2015-07-28 23:55:00 -07:00
tehuti
ti net: davinci_emac: fix error return code 2015-08-25 13:37:31 -07:00
tile
toshiba
tundra
via
wiznet
xilinx net: axienet: Fix devm_ioremap_resource return value check 2015-07-09 21:43:16 -07:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig dwc_eth_qos: Add the synopsys folder to the build system. 2015-07-28 23:55:00 -07:00
korina.c
lantiq_etop.c
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-08-27 21:45:31 -07:00
netx-eth.c