[efi] Free transmit ring entry before calling netdev_tx_complete()
authorMichael Brown <mcb30@ipxe.org>
Thu, 16 Oct 2014 13:09:27 +0000 (14:09 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 16 Oct 2014 13:12:42 +0000 (14:12 +0100)
commitb71e93bb71ae83754e5d6b40b7b24bb31b5238de
treedb7f04c2e462c194a36eb45decbe2296481a4626
parent86285d1d540dff726ba50e7f41f06a20207885ea
[efi] Free transmit ring entry before calling netdev_tx_complete()

The snpnet driver uses netdev_tx_defer() and so must ensure that space
in the (single-entry) transmit descriptor ring is freed up before
calling netdev_tx_complete().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/efi/snpnet.c