ibmvnic: Keep track of supplementary TX descriptors
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Sun, 18 Feb 2018 16:08:41 +0000 (10:08 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Feb 2018 18:16:55 +0000 (13:16 -0500)
commitffc385b95adb0e601f6858b06401adabedf59f81
tree1556f5daa6639b443a351772d55da6c816a3404a
parentf5c0c6f4299f870f074235fbf552ecf957fc249c
ibmvnic: Keep track of supplementary TX descriptors

Supplementary TX descriptors were not being accounted for, which
was resulting in an overflow of the hardware device's transmit
queue. Keep track of those descriptors now when determining
how many entries remain on the TX queue.

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
drivers/net/ethernet/ibm/ibmvnic.h