ibmvnic: Mark NAPI flag as disabled when released
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 23 May 2018 18:37:55 +0000 (13:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 02:19:25 +0000 (22:19 -0400)
commitc3f22415474d36194cb7785d9a236523bce0d829
tree347c1722d57e30f6ebf22040becf8ec991609c61
parent180f848b8f71f0a016888d722802809dd3b32462
ibmvnic: Mark NAPI flag as disabled when released

Set adapter NAPI state as disabled if they are removed. This will allow
them to be enabled again if reallocated in case of a hard reset.

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