[Click] click to driver interaction
Roman Chertov
rchertov at purdue.edu
Wed Oct 4 17:57:31 EDT 2006
Also in ToDevice element when a packet is queued then it gets eventually
copied onto the TX ring buffer through a DMA transfer. Could one
achieve better performance by batching these packets in ToDevice and
then writing all of them at once with a single DMA transfer?
Roman Chertov wrote:
> Hello,
> After messing with the driver code it seems that polling is used to
> receive packets but direct function calls are used used to transmit
> them. (e1000_xmit_frame or the e1000_tx_pqueue variant). So if you
> have a device with 256 descriptors then you would copy some number of
> descriptors into the ring and then call e1000_tx_eob (when BURST number
> of packets is reached), right?
>
>
> Roman
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list