]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ibmvnic: Activate disabled RX buffer pools on reset
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Thu, 15 Jun 2017 04:50:05 +0000 (23:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:28:59 +0000 (14:28 -0400)
commitc3e53b9a3efe300a7864ab1ccfbae239d50d0002
treeb072dda808a6cca969852357cfc80eb117134761
parent7e9191c54a36c864b901ea8ce56dc42f10c2f5ae
ibmvnic: Activate disabled RX buffer pools on reset

RX buffer pools are disabled while awaiting a device
reset if firmware indicates that the resource is closed.

This patch fixes a bug where pools were not being
subsequently enabled after the device reset, causing
the device to become inoperable.

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