From: "Bjørn Mork" <bjorn@mork.no>
To: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
David Laight <David.Laight@ACULAB.COM>,
"linux-usb\@vger.kernel.org" <linux-usb@vger.kernel.org>,
"netdev\@vger.kernel.org" <netdev@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
David Miller <davem@davemloft.net>,
Dan Williams <dan.j.williams@intel.com>, "Nyman\,
Mathias" <mathias.nyman@intel.com>, Mark Lord <mlord@pobox.com>,
Freddy Xin <freddy@asix.com.tw>
Subject: Re: [PATCH RFC 1/1] usb: Tell xhci when usb data might be misaligned
Date: Thu, 30 Jan 2014 23:05:22 +0100 [thread overview]
Message-ID: <87bnytqg65.fsf@nemi.mork.no> (raw)
In-Reply-To: <20140130215523.GC14228@xanatos> (Sarah Sharp's message of "Thu, 30 Jan 2014 13:55:23 -0800")
Sarah Sharp <sarah.a.sharp@linux.intel.com> writes:
> On Thu, Jan 30, 2014 at 04:43:54PM -0500, Alan Stern wrote:
>
>> ehci-hcd gets along okay with the restriction that each SG element
>> except the last has to be a multiple of the maxpacket size. xhci-hcd
>> can relax this quite a lot, but not all the way.
>
> What does the EHCI driver do when it receives a SG list from the USB
> networking layer that violates this restriction?
The USB networking layer won't use SG with the EHCI driver.
Commit bcc48f1a7a0d4 introduced no_sg_constraint so that usbnet could
enable SG only for host controllers with no such restrictions. I.e.
currently for xHCI only.
Bjørn
next prev parent reply other threads:[~2014-01-30 22:05 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-30 21:18 [PATCH RFC 1/1] usb: Tell xhci when usb data might be misaligned Sarah Sharp
2014-01-30 21:39 ` Mark Lord
2014-01-30 21:42 ` Mark Lord
2014-01-30 21:43 ` Alan Stern
2014-01-30 21:48 ` Mark Lord
2014-01-30 21:55 ` Sarah Sharp
2014-01-30 22:05 ` Bjørn Mork [this message]
2014-01-30 22:07 ` Alan Stern
2014-01-30 21:50 ` Bjørn Mork
2014-01-30 22:15 ` Sarah Sharp
2014-01-31 0:17 ` Ming Lei
2014-01-31 19:00 ` Sarah Sharp
2014-02-01 7:54 ` Ming Lei
2014-02-01 13:30 ` Mark Lord
2014-02-01 14:18 ` Ming Lei
2014-02-01 20:05 ` Mark Lord
[not found] ` <52ED5381.2010106-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2014-02-03 9:54 ` David Laight
2014-02-03 17:56 ` Sarah Sharp
2014-02-03 17:55 ` Sarah Sharp
2014-01-31 15:22 ` David Laight
2014-01-31 10:14 ` David Laight
2014-01-31 13:21 ` Peter Stuge
2014-01-31 13:52 ` David Laight
-- strict thread matches above, loose matches on Subject: below --
2014-01-30 16:00 David Laight
[not found] ` <063D6719AE5E284EB5DD2968C1650D6D0F6B5486-VkEWCZq2GCInGFn1LkZF6NBPR1lH4CV8@public.gmane.org>
2014-01-30 16:17 ` Peter Stuge
[not found] ` <20140130161721.25560.qmail-Y+HMSxxDrH8@public.gmane.org>
2014-01-30 16:30 ` David Laight
[not found] ` <063D6719AE5E284EB5DD2968C1650D6D0F6B553D-VkEWCZq2GCInGFn1LkZF6NBPR1lH4CV8@public.gmane.org>
2014-01-30 16:35 ` Peter Stuge
2014-01-31 9:30 ` David Laight
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=87bnytqg65.fsf@nemi.mork.no \
--to=bjorn@mork.no \
--cc=David.Laight@ACULAB.COM \
--cc=dan.j.williams@intel.com \
--cc=davem@davemloft.net \
--cc=freddy@asix.com.tw \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=mlord@pobox.com \
--cc=netdev@vger.kernel.org \
--cc=sarah.a.sharp@linux.intel.com \
--cc=stern@rowland.harvard.edu \
/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;
as well as URLs for NNTP newsgroup(s).