smsc95xx: Fetch whole burst with 1 URB, avoid framing errors
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sun, 30 Aug 2015 15:59:45 +0000 (17:59 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 28 Oct 2015 19:59:28 +0000 (14:59 -0500)
commit0d2837cc8f2575d0ebad7abb80860c6bd8fa3dae
tree5cb627daffb06356226cd274ecfd07f386a13184
parent4f28c9b169eb3dfa0981f58f9c649a03be39fda0
smsc95xx: Fetch whole burst with 1 URB, avoid framing errors

smsc95xx_recv() does not reassemble bursts spread over multiple URBs.
If there is a lot of broadcast traffic, the fifo will fill up to the
burst cap limit. Lowering the burst cap to the URB size ensures no packet
spans multiple urbs.
Caveat, lower limit for working burst cap is 5/33 HS/FS packets.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/eth/smsc95xx.c