aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2015-08-28 10:55:42 +0100
committerDavid S. Miller <davem@davemloft.net>2015-08-28 13:53:47 -0700
commitb0fbdae127a3968688ff7b474e9164dc4bf30dd5 (patch)
treec814ddbcc6d45d2b8ba973d8d6db30f7676254d7 /net/sched/sch_api.c
parentcxgb4: Force uninitialized state if FW in adapter is unsupported (diff)
downloadlinux-dev-b0fbdae127a3968688ff7b474e9164dc4bf30dd5.tar.xz
linux-dev-b0fbdae127a3968688ff7b474e9164dc4bf30dd5.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions