RE: some question about xhci skip_isoc_td

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

 



From: vichy
> hi all:
> when i trace xhci source, I found in skip_isoc_td, there is a
> possibility to increase de-queue pointer twice.
> 
> in skip_isoc_td:
>       /* Update ring dequeue pointer */
>         while (ep_ring->dequeue != td->last_trb)
>                 inc_deq(xhci, ep_ring);
>         inc_deq(xhci, ep_ring);
> 
> why (ep_ring->dequeue != td->last_trb) we have to increase the dequeue pointer?
> I try to find any description in spec about this but in vain.
> is there any special reason to do so?

An isoc transfer can consist of a lot of TRB.
The code wants to skip all of them.
I suspect there are faster ways to achieve the same effect!

	David

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux