cxgbev(4): Initialize debug_flags from the environment like in the PF driver.

This commit is contained in:
Navdeep Parhar 2019-02-08 03:31:38 +00:00
parent 60835849e5
commit c0a248ef93

@ -479,6 +479,7 @@ t4vf_attach(device_t dev)
sc->params.pci.mps = pci_get_max_payload(dev);
sc->flags |= IS_VF;
TUNABLE_INT_FETCH("hw.cxgbe.dflags", &sc->debug_flags);
sc->sge_gts_reg = VF_SGE_REG(A_SGE_VF_GTS);
sc->sge_kdoorbell_reg = VF_SGE_REG(A_SGE_VF_KDOORBELL);