mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 07:50:43 +03:00
Added net device TX queue; this will be needed to support the PXE UNDI API
(which will need us to wait for TX completions). Added debug autocolourisation to netdevice.c
This commit is contained in:
@@ -349,11 +349,15 @@ static int undinet_transmit ( struct net_device *netdev,
|
||||
= ( ( unsigned ) & __from_data16 ( undinet_pkb ) );
|
||||
|
||||
/* Issue PXE API call */
|
||||
rc = undinet_call ( undinic, PXENV_UNDI_TRANSMIT, &undi_transmit,
|
||||
sizeof ( undi_transmit ) );
|
||||
if ( ( rc = undinet_call ( undinic, PXENV_UNDI_TRANSMIT,
|
||||
&undi_transmit,
|
||||
sizeof ( undi_transmit ) ) ) != 0 )
|
||||
goto done;
|
||||
|
||||
/* Free packet buffer and return */
|
||||
free_pkb ( pkb );
|
||||
/* Free packet buffer */
|
||||
netdev_tx_complete ( netdev, pkb );
|
||||
|
||||
done:
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user