[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1374729058.23313.8.camel@edumazet-glaptop>
Date: Wed, 24 Jul 2013 22:10:58 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ming Lei <tom.leiming@...il.com>
Cc: Ben Hutchings <bhutchings@...arflare.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 10:28 +0800, Ming Lei wrote:
>
> It depends if size of sg buffer(except for last one) in the sg list can be
> divided by usb endpoint's max packet size(512 or 1024), at least there
> is the constraint:
>
> http://git.kernel.org/cgit/linux/kernel/git/gregkh/usb.git/commit/?h=usb-next&id=10e232c597ac757e7f8600649f7e872e86de190f
>
> I am wondering if network stack can meet that. If not, it might be a
> bit difficult
> because lots of USB host controller don't support that, and driver may have
> to support SG and non-SG at the same time for working well on all HCs.
I do not see the problem.
If one skb has 2 fragments of 32KB, couldn't they be split into 64 1K
segments by the device driver ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists