aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2022-01-24 10:53:07 -0800
committerDavid S. Miller <[email protected]>2022-01-25 11:15:09 +0000
commit584fb767cde87d30d6ac4b0eb478de185877cea8 (patch)
treef7e408918872dcac1123649b821bc18d2b5857ce /tools/perf/util/scripting-engines/trace-event-python.c
parentf16f5be31009e228ed8366cd6cd24341040063bb (diff)
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 <[email protected]> Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions