]> 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)
commit7c28b93a13c5f03e594cb16081aa74ff369ebeee
tree741e3c323293f6c940a8eb5413c9d80d22ecf17f
parente5d5b8780516d0e3eeaa9edc50c3408950303af7
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