Re: Question regarding CDC NCM and VNC performance issue

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

 



On 19.12.23 13:19, Maciej Żenczykowski wrote:
On Tue, Dec 19, 2023 at 12:45 AM Oliver Neukum <oneukum@xxxxxxxx> wrote:



On 19.12.23 00:00, Maciej Żenczykowski wrote:

Perhaps.  I've been looking at the gadget tx code, and assuming hrtimers work,
I don't see how it could possibly screw up...  the hrtimer arm/cancel
are clearly
at the same spot in the code where we allocate/unqueue the ncm->skb_tx_data

(I have found a potential use-after-free-on-error bug and a stupidity
that I'll send fixes for,
but that doesn't appear related to this thread)

Yes. Could there be a logic bug in the algorithm?
Maybe it is necessary to also consider the time the first packet
was queued and to transmit if that is too long in the past?

But the host side driver seems more complex/confusing.
However, I've not really ever looked at it previously though, so it
might just be that...

How can Hiago determine that? If you do a ping from the gadget
to the host, tcpdump should show the timing of the echo requests,
shouldn't it? If they arrive simultaneously we at least know which
side the issue is on.

	Regards
		Oliver



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

  Powered by Linux