aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 1ace41a13ac3..f66367ed6932 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -2699,7 +2699,7 @@ static void set_nqsets(struct adapter *adap)
2699 int hwports = adap->params.nports; 2699 int hwports = adap->params.nports;
2700 int nqsets = SGE_QSETS; 2700 int nqsets = SGE_QSETS;
2701 2701
2702 if (adap->params.rev > 0) { 2702 if (adap->params.rev > 0 && adap->flags & USING_MSIX) {
2703 if (hwports == 2 && 2703 if (hwports == 2 &&
2704 (hwports * nqsets > SGE_QSETS || 2704 (hwports * nqsets > SGE_QSETS ||
2705 num_cpus >= nqsets / hwports)) 2705 num_cpus >= nqsets / hwports))