]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ea9d36b021159c63626bb416da6b7d6995dda75
tree1556f5daa6639b443a351772d55da6c816a3404a
parent59d8b95f4949dba376b52621b51d68baa00618f0
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