소스 검색

qcacmn: Reduce logging in dp_tx_comp_process_tx_status

When from control path peer is deleted, peer deletion in progress
is set in dp for that peer. So any caller tries to get the peer
using peer id the return peer reference will be NULL as deletion
is in progress. In this case during peer deletion in progress at
tx completion process status console logs are flooded with invalid
peer logs in soft irq context. This is leading to scheduler watch
dog bite. In this change reduce the severity to prevent excessive logs.

Change-Id: Ife8f9e496b81b19666ef9e36db674106111a7d43
CRs-fixed: 2357807
Sravan Kumar Kairam 6 년 전
부모
커밋
1bffc851ac
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      dp/wifi3.0/dp_tx.c

+ 2 - 2
dp/wifi3.0/dp_tx.c

@@ -2903,8 +2903,8 @@ void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc,
 	length = qdf_nbuf_len(tx_desc->nbuf);
 	length = qdf_nbuf_len(tx_desc->nbuf);
 	/* Update peer level stats */
 	/* Update peer level stats */
 	if (!peer) {
 	if (!peer) {
-		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
-				"invalid peer");
+		QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_DP,
+				   "peer is null or deletion in progress");
 		DP_STATS_INC_PKT(soc, tx.tx_invalid_peer, 1, length);
 		DP_STATS_INC_PKT(soc, tx.tx_invalid_peer, 1, length);
 		goto out;
 		goto out;
 	}
 	}