[Intel-wired-lan] [next PATCH 3/5] fm10k: Cleanup exception handling for changing queues

Singh, Krishneil K krishneil.k.singh at intel.com
Tue Nov 3 20:48:22 UTC 2015



-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Alexander Duyck
Sent: Tuesday, October 27, 2015 4:59 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [next PATCH 3/5] fm10k: Cleanup exception handling for changing queues

This patch is meant to cleanup the exception handling for the paths where we reset the interrupts and then reconfigure them.  In all of these paths we had very different levels of exception handling.  I have updated the driver so that all of the paths should result in a similar state if we fail.

Specifically the driver will now unload the mailbox interrupt, free the queue vectors and MSI-X, and then detach the interface.

In addition for any of the PCIe related resets I have added a check with the hw_ready function to just make sure the registers are in a readable state prior to reopening the interface.

Signed-off-by: Alexander Duyck <aduyck at mirantis.com>
---

Tested-by: Krishneil Singh <Krishneil.k.singh at intel.com>






More information about the Intel-wired-lan mailing list