]> git.baikalelectronics.ru Git - kernel.git/commit
net/usb/r8152: support aggregation
authorhayeswang <hayeswang@realtek.com>
Wed, 14 Aug 2013 12:54:38 +0000 (20:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 08:34:25 +0000 (01:34 -0700)
commitbc66d025375b1de9b51c03938ec69901b5eaba6a
tree5c21c4100f89d0c50a97a081a7fcebd25bed74a2
parent3e8e6914ca88860ea655480cbb745b8e816d1616
net/usb/r8152: support aggregation

Enable the tx/rx aggregation which could contain one or more packets
for each bulk in/out. This could reduce the loading of the host
controller by sending less bulk transfer.

The rx packets in the bulk in buffer should be 8-byte aligned, and
the tx packets in the bulk out buffer should be 4-byte aligned.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c