[Intel-wired-lan] [PATCH 3/4] fm10k: request reset when mbx->state changes

Singh, Krishneil K krishneil.k.singh at intel.com
Mon Dec 12 17:19:35 UTC 2016


-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob Keller
Sent: Wednesday, November 2, 2016 4:45 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] [PATCH 3/4] fm10k: request reset when mbx->state changes

From: Ngai-Mint Kwan <ngai-mint.kwan at intel.com>

Multiple IES API resets can cause a race condition where the mailbox interrupt request bits can be cleared before being handled. This can leave certain mailbox messages from the PF to be untreated and the PF will enter in some inactive state. If this situation occurs, the IES API will initiate a mailbox version reset which, then, trigger a mailbox state change. Once this mailbox transition occurs (from OPEN to CONNECT state), a request for reset will be returned.

This ensures that PF will undergo a reset whenever IES API encounters an unknown global mailbox interrupt event or whenever the IES API terminates.

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