bnx2x: increase inner ip id during encapsulated tso
authorDmitry Kravkov <dmitry@broadcom.com>
Thu, 21 Mar 2013 15:38:24 +0000 (15:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2013 14:23:34 +0000 (10:23 -0400)
commite287a75c6806892c0180005c462cd3be5cf93611
treec6e4c7d3054e9c04defb941de2c782aac0800cae
parent9d0ca6ed6f2f12eb488f450d5d38d047aa402a53
bnx2x: increase inner ip id during encapsulated tso

57712/578xx devices during handling of encapsulated TSO can
properly increase ip id for only one ip header.
The patch selects inner header to be increased.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
CC: Eilon Greenstein <eilong@broadcom.com>
CC: Ariel Elior <ariele@broadcom.com>
CC: Maciej Zenczykowski <maze@google.com>
CC: Jesse Gross <jesse@nicira.com>
Reported-by: Eric Dumazet <edumazet@google.com>
Tested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h