From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
To: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"balbi@kernel.org" <balbi@kernel.org>,
"ran.wang_1@nxp.com" <ran.wang_1@nxp.com>
Subject: dwc3 gadget and USB3
Date: Wed, 8 Mar 2023 17:10:17 +0000 [thread overview]
Message-ID: <c604031d4e3aa215b90f73e9a2dd55e7e116186f.camel@infinera.com> (raw)
we are using fsl-ls1043a-rdb based design but with a ls1023a SOC and
use USB0 in gadget mode running either NCM or RNDIS ethernet on top.
When we connect the gadget to a PC(Linux of Windows) over an USB2 hub,
networking(NCM or RNDIS) works well.
However, when we connect the gadget directly to the PC/laptop which uses USB3
we see something odd:
Ping from PC to gadget works.
Ping from gadget to laptop does not. However if we also ping from PC at the same time we
see gadget to PC start working.
Seems like ping from the PC tiggers the gadget to see incoming pkgs somehow.
Any idea what might be wrong or how to debug this?
Kernel 5.15.87
Jocke
next reply other threads:[~2023-03-08 17:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 17:10 Joakim Tjernlund [this message]
2023-03-08 17:25 ` dwc3 gadget and USB3 Greg KH
2023-03-08 18:12 ` Joakim Tjernlund
2023-03-08 18:58 ` gregkh
2023-03-08 21:26 ` Joakim Tjernlund
2023-03-09 16:32 ` Joakim Tjernlund
2023-03-09 16:54 ` Joakim Tjernlund
2023-03-09 19:56 ` Thinh Nguyen
2023-03-09 20:50 ` Joakim Tjernlund
2023-03-09 21:09 ` Thinh Nguyen
2023-03-10 9:32 ` Joakim Tjernlund
2023-03-10 22:58 ` Thinh Nguyen
2023-03-11 17:17 ` Joakim Tjernlund
2023-03-14 0:49 ` Thinh Nguyen
2023-03-13 10:42 ` Joakim Tjernlund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c604031d4e3aa215b90f73e9a2dd55e7e116186f.camel@infinera.com \
--to=joakim.tjernlund@infinera.com \
--cc=balbi@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ran.wang_1@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox