]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Break larger frags into 4k chunks for 5719
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 27 Jul 2011 14:20:53 +0000 (14:20 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 08:43:13 +0000 (16:43 +0800)
commit5425edbc0e160a205696f960f740963792e3d867
tree5266451fec7e3eed06cc73cf3926cbb6efd5d470
parentd449394135bca6d9eaa0809508b4a6c436ab8609
tg3: Break larger frags into 4k chunks for 5719

The 5719 has bug where RDMAs larger than 4k can cause problems.  This
patch works around the problem by dividing larger DMA requests into
something the hardware can handle.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit e31aa9870627106aebddd280aab8ecb2f493246a)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c
drivers/net/tg3.h