]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Track state of adapter napis
authorJohn Allen <jallen@linux.vnet.ibm.com>
Fri, 26 May 2017 14:30:13 +0000 (10:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:32:44 +0000 (15:32 -0400)
commitc7747e0d6db6f854e59216018402d12a6bd91111
tree0d69d8b1a667e983d1a0bcb43cfeef0cf3ae6599
parent6ab1b1fbf8a804deaa5b43d5fb76e6efbd2badc1
ibmvnic: Track state of adapter napis

Track the state of ibmvnic napis. The driver can get into states where it
can be reset when napis are already disabled and attempting to disable them
again will cause the driver to hang.

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