diff options
author | 2022-01-24 10:53:07 -0800 | |
---|---|---|
committer | 2022-01-25 11:15:09 +0000 | |
commit | 584fb767cde87d30d6ac4b0eb478de185877cea8 (patch) | |
tree | f7e408918872dcac1123649b821bc18d2b5857ce /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ionic: Query FW when getting VF info via ndo_get_vf_config (diff) | |
download | linux-dev-584fb767cde87d30d6ac4b0eb478de185877cea8.tar.xz linux-dev-584fb767cde87d30d6ac4b0eb478de185877cea8.zip |
ionic: Prevent filter add/del err msgs when the device is not available
Currently when a request for add/deleting a filter is made when
ionic_heartbeat_check() returns failure the driver will be overly
verbose about failures, especially when these are usually temporary
fails and the request will be retried later. An example of this is
a filter add when the FW is in the middle of resetting:
IONIC_CMD_RX_FILTER_ADD (31) failed: IONIC_RC_ERROR (-6)
rx_filter add failed: ADDR 01:80:c2:00:00:0e
Fix this by checking for -ENXIO and other error values on filter
request fails before printing the error message. Add similar
checking to the delete filter code.
Fixes: f91958cc9622 ("ionic: tame the filter no space message")
Signed-off-by: Brett Creeley <brett@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions