svn commit: r345615 - stable/12/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Tue Sep 3 14:05:54 UTC 2019


Author: np
Date: Wed Mar 27 21:58:48 2019
New Revision: 345615
URL: https://svnweb.freebsd.org/changeset/base/345615

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

Modified:
  stable/12/sys/dev/cxgbe/t4_vf.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/t4_vf.c
==============================================================================
--- stable/12/sys/dev/cxgbe/t4_vf.c	Wed Mar 27 21:55:36 2019	(r345614)
+++ stable/12/sys/dev/cxgbe/t4_vf.c	Wed Mar 27 21:58:48 2019	(r345615)
@@ -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);




More information about the svn-src-all mailing list