lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1311192204140.6891-100000@netrider.rowland.org>
Date:	Tue, 19 Nov 2013 22:09:52 -0500 (EST)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Sarah Sharp <sarah.a.sharp@...ux.intel.com>
cc:	David Laight <David.Laight@...LAB.COM>,
	Ben Hutchings <bhutchings@...arflare.com>,
	<netdev@...r.kernel.org>, <linux-usb@...r.kernel.org>
Subject: Re: [PATCH] usb: xhci: Link TRB must not occur with a USB payload
 burst.

On Tue, 19 Nov 2013, Sarah Sharp wrote:

> The xHCI driver can limit the number of sg-list entries through
> hcd->self.sg_tablesize.  It's currently set to ~0, which is "however
> many entries you want.  You could set that to the number of TRBs in a
> segment (minus one for the link TRB).
> 
> The usb-storage and uas drivers currently use sg_tablesize.  Could the
> network stack be taught to use sg_tablesize as well?

The sg_tablesize you're talking about is a field in struct usb_bus
(there's a similar field in struct scsi_host_template).  It's not
relevant to the network stack, since network interfaces aren't USB host
controllers (or SCSI hosts).

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ