]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Update TX pool cleaning routine
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Sat, 17 Mar 2018 01:00:30 +0000 (20:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:12:39 +0000 (20:12 -0400)
commit20457109ca020c7b59d573bdadb4d2b95e815a81
tree741e3c323293f6c940a8eb5413c9d80d22ecf17f
parent09b6e906e62b54852a2310b9347455e0759f44e4
ibmvnic: Update TX pool cleaning routine

Update routine that cleans up any outstanding transmits that
have not received completions when the device needs to close.
Introduces a helper function that cleans one TX pool to make
code more readable.

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