bnx2x: LSO code was broken on BE platforms
authorVladislav Zolotarov <vladz@broadcom.com>
Sun, 12 Dec 2010 04:11:45 +0000 (04:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Dec 2010 23:02:58 +0000 (15:02 -0800)
commit099978b434d4924594516db540ccc50652e7cc94
tree5752b89873bde5b4dcea0ba3090b47f457763213
parent4d7b6b5d247aa71ea27709b9eac1ba6e752fbe87
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