mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[e1000] Ensure descriptor is fully written before sending packet
Reported-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
@@ -588,6 +588,7 @@ e1000_transmit ( struct net_device *netdev, struct io_buffer *iobuf )
|
|||||||
|
|
||||||
/* Write new tail to NIC, making packet available for transmit
|
/* Write new tail to NIC, making packet available for transmit
|
||||||
*/
|
*/
|
||||||
|
wmb();
|
||||||
E1000_WRITE_REG ( hw, TDT, adapter->tx_tail );
|
E1000_WRITE_REG ( hw, TDT, adapter->tx_tail );
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user