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
| ||
|
Date: Thu, 25 Jul 2013 16:00:35 +0100 From: Ben Hutchings <bhutchings@...arflare.com> To: Ming Lei <tom.leiming@...il.com> CC: Eric Dumazet <eric.dumazet@...il.com>, Oliver Neukum <oliver@...kum.org>, Grant Grundler <grundler@...gle.com>, Freddy Xin <freddy@...x.com.tw>, David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>, <linux-usb@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>, ASIX Louis [蘇威陸] <louis@...x.com.tw>, "Allan Chou" <allan@...x.com.tw> Subject: Re: [PATCH 1/1] TX throttling bug-fixing patch of AX88179_178A On Thu, 2013-07-25 at 22:52 +0800, Ming Lei wrote: [...] > On Thu, Jul 25, 2013 at 9:34 PM, Ben Hutchings > <bhutchings@...arflare.com> wrote: > > > > Not that I have any experience with USB drivers, but perhaps > > usb_sg_init()? > > USB SG library doesn't support submitting SG URB asynchronously, but that isn't > a big deal. The problem is that many USB host controllers can't build > one single > packet from two buffers, what is why USB stack requires size of all > buffers(except > for last one) in sg list can be divided by max endpoint packet > size.(1024 for usbnet) Ugh. Maybe the USB stack should allow drivers to find out about and take advantage of a more flexible host controller. Sounds like it could be a big job, though. Ben. (glad not to be using any USB net devices) -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- 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