]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Reset tx/rx pools on driver reset
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Fri, 26 May 2017 14:31:06 +0000 (10:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:32:46 +0000 (15:32 -0400)
commit4d59349c7cc4bdbfed43dde91f1464b2759e4799
treeca434ddf7035f23daec98993c5cb403584f15b76
parenta18463c9cc6f58c1dabc79ef91f2c7c726750298
ibmvnic: Reset tx/rx pools on driver reset

When resetting the ibmvnic driver there is not a need to release
and re-allocate the resources for the tx and rx pools. These
resources can just be reset to avoid the re-allocations.

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