Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2018 22:39:59 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342289 - head/sys/dev/cxgbe/iw_cxgbe
Message-ID:  <201812202239.wBKMdxAl010879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Thu Dec 20 22:39:58 2018
New Revision: 342289
URL: https://svnweb.freebsd.org/changeset/base/342289

Log:
  cxgbe/iw_cxgbe: Remove redundant CTRs from c4iw_alloc/c4iw_rdev_open.
  This information is readily available elsewhere.
  
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/iw_cxgbe/device.c

Modified: head/sys/dev/cxgbe/iw_cxgbe/device.c
==============================================================================
--- head/sys/dev/cxgbe/iw_cxgbe/device.c	Thu Dec 20 22:31:07 2018	(r342288)
+++ head/sys/dev/cxgbe/iw_cxgbe/device.c	Thu Dec 20 22:39:58 2018	(r342289)
@@ -122,24 +122,7 @@ c4iw_rdev_open(struct c4iw_rdev *rdev)
 	rdev->qpmask = udb_density - 1;
 	rdev->cqshift = PAGE_SHIFT - sp->iq_s_qpp;
 	rdev->cqmask = ucq_density - 1;
-	CTR5(KTR_IW_CXGBE, "%s dev %s stag start 0x%0x size 0x%0x num stags %d",
-		__func__, device_get_nameunit(sc->dev), sc->vres.stag.start,
-		sc->vres.stag.size, c4iw_num_stags(rdev));
-	CTR5(KTR_IW_CXGBE, "%s pbl start 0x%0x size 0x%0x"
-			" rq start 0x%0x size 0x%0x", __func__,
-			sc->vres.pbl.start, sc->vres.pbl.size,
-			sc->vres.rq.start, sc->vres.rq.size);
-	CTR5(KTR_IW_CXGBE, "%s:qp qid start %u size %u cq qid start %u size %u",
-			 __func__, sc->vres.qp.start, sc->vres.qp.size,
-			 sc->vres.cq.start, sc->vres.cq.size);
-	/*TODO
-	CTR5(KTR_IW_CXGBE, "%s udb %pR db_reg %p gts_reg %p"
-			"qpmask 0x%x cqmask 0x%x", __func__,
-			db_reg,gts_reg,rdev->qpmask, rdev->cqmask);
-			*/
 
-
-
 	if (c4iw_num_stags(rdev) == 0) {
 		rc = -EINVAL;
 		goto err1;
@@ -235,11 +218,6 @@ c4iw_alloc(struct adapter *sc)
 	iwsc->rdev.adap = sc;
 
 	/* init various hw-queue params based on lld info */
-	CTR3(KTR_IW_CXGBE, "%s: Ing. padding boundary is %d, "
-			"egrsstatuspagesize = %d", __func__,
-			sc->params.sge.pad_boundary,
-			sc->params.sge.spg_len);
-
 	iwsc->rdev.hw_queue.t4_eq_status_entries =
 		sc->params.sge.spg_len / EQ_ESIZE;
 	iwsc->rdev.hw_queue.t4_max_eq_size = 65520;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812202239.wBKMdxAl010879>