Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9ee3882 authored by Divy Le Ray's avatar Divy Le Ray Committed by Jeff Garzik
Browse files

cxgb3 - Limit multiqueue setting to msi-x



Allow multiqueue setting in MSI-X mode only

Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 9f64306b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2699,7 +2699,7 @@ static void set_nqsets(struct adapter *adap)
	int hwports = adap->params.nports;
	int nqsets = SGE_QSETS;

	if (adap->params.rev > 0) {
	if (adap->params.rev > 0 && adap->flags & USING_MSIX) {
		if (hwports == 2 &&
		    (hwports * nqsets > SGE_QSETS ||
		     num_cpus >= nqsets / hwports))