Commit 65b7beca authored by Chad Dupuis's avatar Chad Dupuis Committed by Martin K. Petersen
Browse files

scsi: qedf: Honor default_prio module parameter even if DCBX does not converge

parent 4b9b7fab
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -3011,6 +3011,13 @@ static int __qedf_probe(struct pci_dev *pdev, int mode)
	INIT_DELAYED_WORK(&qedf->grcdump_work, qedf_wq_grcdump);
	qedf->fipvlan_retries = qedf_fipvlan_retries;
	/* Set a default prio in case DCBX doesn't converge */
	if (qedf_default_prio > -1) {
		/*
		 * This is the case where we pass a modparam in so we want to
		 * honor it even if dcbx doesn't converge.
		 */
		qedf->prio = qedf_default_prio;
	} else
		qedf->prio = QEDF_DEFAULT_PRIO;

	/*