[etherlab-users] ecrt_master_send

Florian Pose fp at igh-essen.com
Mon Jan 25 10:57:56 CET 2010


On Thu, Jan 21, 2010 at 08:58:31PM +1000, Andre Puschmann wrote:
> I think ecrt_master_send does block until the packet has been traveled 
> through the driver (from the caller's perspective). However, it really 
> depends on the driver what that exactly means. You can't really make sure 
> that (or when) a packet passed (via DMA) to a NIC has been sent over the 
> network.
> Others may correct me if I am wrong.

The call immediately returns after the frame data have been copied into
memory, that is accessible by the network driver, and the network driver
is requested to transmit the data (via DMA). This means, that the data
have not necessarily have been transferred to the hardware when the
call returns, but usually this happens directly after that.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list