remarkable-linux/drivers/net/ethernet/sfc
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
..
bitfield.h
ef10.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
ef10_regs.h
ef10_sriov.c sfc: Ensure down_write(&filter_sem) and up_write() are matched before calling efx_net_open() 2015-07-08 16:18:52 -07:00
ef10_sriov.h sfc: add legacy method for changing a PF's MAC address 2015-07-08 16:07:33 -07:00
efx.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
efx.h sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
enum.h
ethtool.c
falcon.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
falcon_boards.c
farch.c
farch_regs.h
filter.h
io.h
Kconfig
Makefile
mcdi.c sfc: add output flag decoding to efx_mcdi_set_workaround 2015-07-21 22:21:32 -07:00
mcdi.h sfc: add output flag decoding to efx_mcdi_set_workaround 2015-07-21 22:21:32 -07:00
mcdi_mon.c
mcdi_pcol.h sfc: update MCDI protocol definitions 2015-07-21 22:21:31 -07:00
mcdi_port.c sfc: suppress ENOENT error messages from MC_CMD_MAC_STATS 2015-06-02 12:57:29 -07:00
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
nic.c
nic.h sfc: enable cascaded multicast filters in MCFW 2015-07-21 22:21:31 -07:00
phy.h
ptp.c
qt202x_phy.c
rx.c
selftest.c sfc: allow ethtool selftest and MC reboot to complete on an unprivileged function 2015-07-31 15:32:05 -07:00
selftest.h
siena.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
siena_sriov.c
siena_sriov.h
sriov.c sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
sriov.h sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
tenxpress.c
tx.c sfc: Report TX completions to BQL after all TX events in interrupt 2015-07-09 00:00:40 -07:00
txc43128_phy.c
vfdi.h
workarounds.h