mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 22:08:48 +03:00
[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:
committed by
Michael Brown
parent
1852803e46
commit
3f8da985aa
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user