diff options
author | Edward Cree <ecree@solarflare.com> | 2019-11-22 18:57:19 +0100 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-23 02:50:52 +0100 |
commit | 0aa6608daec5d19275809d30df6a02529eb66c7d (patch) | |
tree | 6f0fec22548639631dd3d7fbf6f46f81e2c49b28 /drivers/spi | |
parent | sfc: change ARFS expiry mechanism (diff) | |
download | linux-0aa6608daec5d19275809d30df6a02529eb66c7d.tar.xz linux-0aa6608daec5d19275809d30df6a02529eb66c7d.zip |
sfc: suppress MCDI errors from ARFS
In high connection count usage, the NIC's filter table may be filled with
sufficiently many ARFS filters that further insertions fail. As this
does not represent a correctness issue, do not log the resulting MCDI
errors. Add a debug-level message under the (by default disabled)
rx_status category instead; and take the opportunity to do a little extra
expiry work.
Since there are now multiple workitems able to call __efx_filter_rfs_expire
on a given channel, it is possible for them to race and thus pass quotas
which, combined, exceed rfs_filter_count. Thus, don't WARN_ON if we loop
all the way around the table with quota left over.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Tested-by: David Ahern <dahern@digitalocean.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions