mirror_ubuntu-kernels/drivers/net/ethernet/pensando/ionic
Brett Creeley 584fb767cd 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: f91958cc96 ("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>
2022-01-25 11:15:09 +00:00
..
ionic_bus_pci.c ionic: start watchdog after all is setup 2022-01-25 11:15:08 +00:00
ionic_bus.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_debugfs.c ionic: add filterlist to debugfs 2021-10-10 10:42:47 +01:00
ionic_debugfs.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_dev.c ionic: Query FW when getting VF info via ndo_get_vf_config 2022-01-25 11:15:09 +00:00
ionic_dev.h ionic: Query FW when getting VF info via ndo_get_vf_config 2022-01-25 11:15:09 +00:00
ionic_devlink.c ionic: no devlink_unregister if not registered 2021-10-12 17:39:33 -07:00
ionic_devlink.h devlink: move request_firmware out of driver 2020-11-19 21:40:57 -08:00
ionic_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ionic_ethtool.h ionic: Add initial ethtool support 2019-09-05 09:24:44 +02:00
ionic_fw.c devlink: move flash end and begin to core devlink 2020-11-19 21:41:02 -08:00
ionic_if.h ionic: monitor fw status generation 2021-07-27 20:15:21 +01:00
ionic_lif.c ionic: Query FW when getting VF info via ndo_get_vf_config 2022-01-25 11:15:09 +00:00
ionic_lif.h ionic: add FW_STOPPING state 2022-01-25 11:15:08 +00:00
ionic_main.c ionic: Query FW when getting VF info via ndo_get_vf_config 2022-01-25 11:15:09 +00:00
ionic_phc.c ionic: allow adminq requests to override default error message 2021-10-10 10:42:47 +01:00
ionic_regs.h ionic: make spdxcheck.py happy 2020-03-21 19:53:57 -07:00
ionic_rx_filter.c ionic: Prevent filter add/del err msgs when the device is not available 2022-01-25 11:15:09 +00:00
ionic_rx_filter.h ionic: handle vlan id overflow 2021-10-10 10:42:47 +01:00
ionic_stats.c ionic: remove debug stats 2021-10-02 14:00:21 +01:00
ionic_stats.h ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_txrx.c ionic: remove debug stats 2021-10-02 14:00:21 +01:00
ionic_txrx.h ionic: add and enable tx and rx timestamp handling 2021-04-02 14:18:33 -07:00
ionic.h ionic: Query FW when getting VF info via ndo_get_vf_config 2022-01-25 11:15:09 +00:00
Makefile ionic: link in the new hw timestamp code 2021-04-02 14:18:32 -07:00