[vmxnet3] Avoid completely filling the TX descriptor ring

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Carl Henrik Lunde
2015-09-16 11:10:04 +01:00
committed by Michael Brown
parent 1852803e46
commit 3f8da985aa
2 changed files with 12 additions and 4 deletions

View File

@@ -493,6 +493,9 @@ struct vmxnet3_nic {
/** MTU size */
#define VMXNET3_MTU ( ETH_FRAME_LEN + 4 /* VLAN */ + 4 /* FCS */ )
/** Transmit ring maximum fill level */
#define VMXNET3_TX_FILL ( VMXNET3_NUM_TX_DESC - 1 )
/** Receive ring maximum fill level */
#define VMXNET3_RX_FILL 8