[Intel-wired-lan] [net-next 1/3] fm10k: fix SM mailbox full condition
Singh, Krishneil K
krishneil.k.singh at intel.com
Thu Nov 1 18:00:20 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf
> Of Jacob Keller
> Sent: Monday, October 15, 2018 12:18 PM
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Cc: Kwan, Ngai-mint <ngai-mint.kwan at intel.com>
> Subject: [Intel-wired-lan] [net-next 1/3] fm10k: fix SM mailbox full condition
>
> From: Ngai-Mint Kwan <ngai-mint.kwan at intel.com>
>
> 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 at intel.com>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
Tested-by: Krishneil Singh <krishneil.k.singh at intel.com>
More information about the Intel-wired-lan
mailing list