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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 05:39:32 +0000 (22:39 -0700)
commite31aa9870627106aebddd280aab8ecb2f493246a
treec771dda9a09b07382947da52b82d093de9b951ea
parent84b67b27e9531e9a70c9e8cd952d66c55f4d0ddb
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>
drivers/net/tg3.c
drivers/net/tg3.h