[PATCH 2/3] bnx2x: do not set NETIF_F_LRO in bnx2x_init_bp

Michal Schmidt
2011-08-31T15:00:47Z

bnx2x_fix_features() will take care of clearing NETIF_F_LRO if
'disable_tpa' is used.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
index fd32c04..c1285db 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
@@ -9755,12 +9755,6 @@ static int __devinit bnx2x_init_bp(struct bnx2x *bp)
"must load devices in order!\n");

bp->multi_mode = multi_mode;
-
- /* Set TPA flags */
- if (disable_tpa)
- bp->dev->features &= ~NETIF_F_LRO;
- else
- bp->dev->features |= NETIF_F_LRO;
bp->disable_tpa = disable_tpa;

if (CHIP_IS_E1(bp))
--
1.7.6