]> 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)
commit7ee8c1d87d4f2225e4fb93bb599ba65bac99bcfb
treeca434ddf7035f23daec98993c5cb403584f15b76
parentcfd94ac81dc792d475db76ea32d0bb184f07b311
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