ibmvnic: Make CRQ interrupt tasklet wait for all capabilities crqs
After sending device capability queries and requests to the vNIC Server, an interrupt is triggered and the responses are written to the driver's CRQ response buffer. Since the interrupt can be triggered before all responses are written and visible to the partition, there is a danger that the interrupt handler or tasklet can terminate before all responses are read, resulting in a failure to initialize the device. To avoid this scenario, when capability commands are sent, we set a flag that will be checked in the following interrupt tasklet that will handle the capability responses from the server. Once all responses have been handled, the flag is disabled; and the tasklet is allowed to terminate. Signed-off-by:Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
901e040a
-
mentioned in commit 55258b50
-
mentioned in commit 0a60d04a
-
mentioned in commit d4435164
-
mentioned in commit fdcdc94b
-
mentioned in commit e3496f81
-
mentioned in commit e6b36dec
-
mentioned in commit c09702f4
-
mentioned in commit a15ed3e9
-
mentioned in commit 610b3125
-
mentioned in commit 539ac94e
-
mentioned in commit e966de19
Please register or sign in to comment