linux_dsm_epyc7002/drivers/net/ethernet/intel/fm10k
Ngai-Mint Kwan e69e40c806 fm10k: fix SM mailbox full condition
Current condition will always incorrectly report a full SM mailbox if an
IES API application is not running. Due to this, the
"fm10k_service_task" will be infinitely queued into the driver's
workqueue. This, in turn, will cause a "kworker" thread to report 100%
CPU utilization and might cause "soft lockup" events or system crashes.

To fix this issue, a new condition is added to determine if the SM
mailbox is in the correct state of FM10K_STATE_OPEN before proceeding.
In other words, an instance of the IES API must be running. If there is,
the remainder of the flow stays the same which is to determine if the SM
mailbox capacity has been exceeded or not and take appropriate action.

Signed-off-by: Ngai-Mint Kwan <ngai-mint.kwan@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-10-31 10:31:24 -07:00
..
fm10k_common.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_common.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_dcbnl.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_debugfs.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_ethtool.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
fm10k_iov.c fm10k: fix SM mailbox full condition 2018-10-31 10:31:24 -07:00
fm10k_main.c intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
fm10k_mbx.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_netdev.c fm10k: remove ndo_poll_controller 2018-09-23 21:55:24 -07:00
fm10k_pci.c pci-v4.20-changes 2018-10-25 06:50:48 -07:00
fm10k_pf.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_pf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_tlv.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_tlv.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_type.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_vf.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k.h fm10k: remove ndo_poll_controller 2018-09-23 21:55:24 -07:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00