aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 60a4e94e6840..2e4d64df66f5 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -88,6 +88,11 @@ module_param(int_mode, int, 0);
88MODULE_PARM_DESC(int_mode, " Force interrupt mode (1 INT#x; 2 MSI)"); 88MODULE_PARM_DESC(int_mode, " Force interrupt mode (1 INT#x; 2 MSI)");
89 89
90module_param(poll, int, 0); 90module_param(poll, int, 0);
91
92static int mrrs = -1;
93module_param(mrrs, int, 0);
94MODULE_PARM_DESC(mrrs, " Force Max Read Req Size (0..3) (for debug)");
95
91module_param(debug, int, 0); 96module_param(debug, int, 0);
92MODULE_PARM_DESC(disable_tpa, "disable the TPA (LRO) feature"); 97MODULE_PARM_DESC(disable_tpa, "disable the TPA (LRO) feature");
93MODULE_PARM_DESC(poll, "use polling (for debug)"); 98MODULE_PARM_DESC(poll, "use polling (for debug)");
@@ -8160,6 +8165,7 @@ static int __devinit bnx2x_init_bp(struct bnx2x *bp)
8160 bp->dev->features |= NETIF_F_LRO; 8165 bp->dev->features |= NETIF_F_LRO;
8161 } 8166 }
8162 8167
8168 bp->mrrs = mrrs;
8163 8169
8164 bp->tx_ring_size = MAX_TX_AVAIL; 8170 bp->tx_ring_size = MAX_TX_AVAIL;
8165 bp->rx_ring_size = MAX_RX_AVAIL; 8171 bp->rx_ring_size = MAX_RX_AVAIL;