Browse Source

qcacld-3.0: Selectively reduce dp logs

Reduce the datapath logs from info to debug.

Change-Id: I89c6be34535ef75c0d5bf9b11d7f742f02322097
CRs-Fixed: 2607002
Arun Kumar Khandavalli 5 years ago
parent
commit
bc7ae34aa6
2 changed files with 4 additions and 7 deletions
  1. 3 6
      core/dp/txrx/ol_txrx.c
  2. 1 1
      core/dp/txrx/ol_txrx_flow_control.c

+ 3 - 6
core/dp/txrx/ol_txrx.c

@@ -3225,9 +3225,8 @@ int ol_txrx_peer_release_ref(ol_txrx_peer_handle peer,
 				  debug_id,
 				  qdf_atomic_read(&peer->access_list[debug_id]),
 				  peer, rc,
-				  qdf_atomic_read(&peer->fw_create_pending)
-									== 1 ?
-				  "(No Maps received)" : "");
+				  qdf_atomic_read(&peer->fw_create_pending) ==
+				  1 ? "(No Maps received)" : "");
 
 		ol_txrx_peer_tx_queue_free(pdev, peer);
 
@@ -3251,9 +3250,7 @@ int ol_txrx_peer_release_ref(ol_txrx_peer_handle peer,
 		qdf_spin_unlock_bh(&pdev->peer_ref_mutex);
 		if (!ref_silent)
 			ol_txrx_info_high("[%d][%d]: ref delete peer %pK ref_cnt -> %d",
-					  debug_id,
-					  access_list,
-					  peer, rc);
+					  debug_id, access_list, peer, rc);
 	}
 	return rc;
 ERR_STATE:

+ 1 - 1
core/dp/txrx/ol_txrx_flow_control.c

@@ -833,7 +833,7 @@ static void ol_tx_flow_pool_vdev_unmap(struct ol_tx_flow_pool_t *pool,
 
 	vdev = (struct ol_txrx_vdev_t *)ol_txrx_get_vdev_from_vdev_id(vdev_id);
 	if (!vdev) {
-		ol_txrx_err("invalid vdev_id %d", vdev_id);
+		ol_txrx_dbg("invalid vdev_id %d", vdev_id);
 		return;
 	}