aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/cxgb3_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb3/cxgb3_main.c')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 8c381c696a3d..ec05149a9065 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -670,8 +670,7 @@ static int setup_sge_qsets(struct adapter *adap)
670 struct port_info *pi = netdev_priv(dev); 670 struct port_info *pi = netdev_priv(dev);
671 671
672 pi->qs = &adap->sge.qs[pi->first_qset]; 672 pi->qs = &adap->sge.qs[pi->first_qset];
673 for (j = pi->first_qset; j < pi->first_qset + pi->nqsets; 673 for (j = 0; j < pi->nqsets; ++j, ++qset_idx) {
674 ++j, ++qset_idx) {
675 set_qset_lro(dev, qset_idx, pi->rx_offload & T3_LRO); 674 set_qset_lro(dev, qset_idx, pi->rx_offload & T3_LRO);
676 err = t3_sge_alloc_qset(adap, qset_idx, 1, 675 err = t3_sge_alloc_qset(adap, qset_idx, 1,
677 (adap->flags & USING_MSIX) ? qset_idx + 1 : 676 (adap->flags & USING_MSIX) ? qset_idx + 1 :