bnx2x: LSO code was broken on BE platforms
authorVladislav Zolotarov <vladz@broadcom.com>
Wed, 8 Dec 2010 01:43:09 +0000 (01:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 04:50:00 +0000 (20:50 -0800)
commit2297a2da5a8507bf6596dc30ace3483c00bd85ed
tree6cd0e65985c1666a3b9863c1ae29df5d953fec77
parent4bc65dd8d88671712d71592a83374cfb0b5fce7a
bnx2x: LSO code was broken on BE platforms

Make the LSO code work on BE platforms: parsing_data field of
a parsing BD (PBD) for 57712 was improperly composed which made FW read wrong
values for TCP header's length and offset and, as a result, the corresponding
PCI device was performing bad DMA reads triggering EEH.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_cmn.c