From: Karl H. <ka...@hi...> - 2010-08-20 08:56:34
|
On 20/08/2010 3:12, Nathan Williams wrote: > Hi, > > Is there any mechanism for an ATM driver to tell the kernel that its TX > queue is full? I'd like to keep solos-pci's TX queue short so traffic > priorities can be managed in the kernel. > > I think network devices can use netif_stop_queue(), so I'm wondering if > there's something similar for ATM devices. > AFIK it's not currently possible inside device drivers. Currently it's done where we have a netdevice, see the clip and br2684 modules. With br2684ctl you can adjust the sndbuff to change when netif_stop_queue() is called. Two issues i have now are: 1. There is no way for the device driver to stop the queue. 2. For example when there are multiple br2684 or clip VCs on a device, if one VC has the device full the other VCs don't netif_stop_queue() -- Karl |