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

Frank Li lznuaa at gmail.com
Tue Apr 29 07:18:41 PDT 2014


On Tue, Apr 29, 2014 at 9:01 AM, David Laight <David.Laight at aculab.com> wrote:
> 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!

I think it is same thing. If I am wrong, please tell me difference.

>
>         David
>



More information about the linux-arm-kernel mailing list