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

Re: [microblaze-uclinux] network queueing



I'm using a non-xilinx mac/phy.  I am using the vendor's linux driver.  I think it may actually be working, but maybe I just don't understand it.  For instance if I comment out the call to netif_start_queue() I would have expected the tx to stop working, but it doesn't.  As I understand it, netif_stop/start_queue are flow control to the higher layers, so if I call netif_stop_queue then I shouldn't get any more tx packets.  I need to do some more digging to verify this is happening.

thanks,
jim


John Williams wrote:
Hi Jim,

Jim Van Vorst wrote:

  
I've been banging my head trying to figure out why I can't get more than
one packet at a time queued up to my network driver.  It turns out that
all the netif_start_queue/stop_queue/wake_queue functionality that I've
been reading about in my helpful linux books is COMPLETELY ignored in
Petalinux.  Or maybe uClinux in general.  Is this correct?  If so, why? 
How does the kernel know that the driver's TX queue is full?
    

Which network device are you using - ethernet lite or full emac / temac?

I'm not aware of the netif_queue functionality being ignored, but I'll
need some time to take a closer look.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


  
___________________________ microblaze-uclinux mailing list microblaze-uclinux@xxxxxxxxxxxxxx Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/