General question about queuing on hardware devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there

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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux