]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Check for transport event on driver resume
authorJohn Allen <jallen@linux.vnet.ibm.com>
Mon, 24 Jul 2017 18:26:06 +0000 (13:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:40:10 +0000 (17:40 -0700)
commit8df8d28986cd0a8f3b97172ccf6203f61f2fb70d
tree3b620c8c4b406795037a9cb22d366e76e4c4da09
parent2ce14b93a623f78cf6ad42ee8c5aa19fc579caad
ibmvnic: Check for transport event on driver resume

On resume, the ibmvnic driver will fail to resume normal operation.
The main crq gets closed on suspend by the vnic server and doesn't get
reopened again as the interrupt for the transport event that would reset
the main crq comes in after the driver has been suspended.

This patch resolves the issue by removing the calls to kick the receive
interrupts handlers and instead directly invoking the main crq interrupt
handler. This will ensure that we see the transport event necessary to
properly resume the driver.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c