ibmvnic: Move queue restarting in ibmvnic_tx_complete
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 3 May 2017 18:05:25 +0000 (14:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2017 15:33:06 +0000 (11:33 -0400)
commit7c3e7de3f3a94fa34731f302e2f6606c9adc0f38
treec7bd90ce3fc9b3f31b3d6fa208f9efd3d715360e
parent94ca305fd85cd052050b19b1762eb14eaa8cdd6a
ibmvnic: Move queue restarting in ibmvnic_tx_complete

Restart of the subqueue should occur outside of the loop processing
any tx buffers instead of doing this in the middle of the loop.

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