I'm currently writting a driver for an ethernet device and I have a question about the queuing.
My device has a number of hardware transmit buffers and by looking at the code I understand that the entry point of packets for transmition in the driver is the hard_start_xmit function.
Looking over at the interrupt handler I see that when the packet is transmitted no attempt is made to refill the hardware transmit queue.
I believe that throttling is achieved by netif_stop_queue when no more hardware buffers are available.
But netif_start_queue is only called on the open driver method.
When is the transmition restarted?
Regards
Pantelis
- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html