]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Fix data corruption on 5725 with TSO
authorMichael Chan <mchan@broadcom.com>
Mon, 13 May 2013 11:04:16 +0000 (11:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 May 2013 18:32:04 +0000 (11:32 -0700)
commit39afb8fe22faf8811f114ba4c9acac988a4fb98d
treefebfe0543aa31aa965ec5358a6e71f6672d25380
parent8461cdbb2130e62e3d4b51d3e35da0d3c59d846f
tg3: Fix data corruption on 5725 with TSO

The 5725 family of devices (asic rev 5762), corrupts TSO packets where
the buffer is within MSS bytes of a 4G boundary (4G, 8G etc.). Detect
this condition and trigger the workaround path.

Cc: <stable@vger.kernel.org>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c