[PATCH net-next 5/7] net:fec: add support for dumping transmit ring on timeout

David Laight David.Laight at ACULAB.COM
Tue Apr 29 07:01:54 PDT 2014


From: Frank ...
> > You probably want the read and write indexes as well.
> 
>                      bdp == fep->cur_tx ? 'S' : ' ',
>                      bdp == fep->dirty_tx ? 'H' : ' ',
> 
> Above code already print read and write index. 'S', 'H'

Gah I must be asleep!
Something made be think that was to do with the ring ownership bit!

	David



More information about the linux-arm-kernel mailing list