瀏覽代碼

qcacld-3.0: Fix TX failure message flooding in the cnss diag log

Fix TX failure message flooding in the cnss diag log in the third
party platform when running UDP performance test in high bandwidth.

The TX follow controller might be disabled for the legacy ROME module
due to IPA might be not enabled in the kernel config.

Use rate limit print version to mitigate this error msg flooding.

Change-Id: Id33c2a42a6490f734e83343f6d26e37cd6887bbe
CRs-Fixed: 3256599
Tiger Yu 2 年之前
父節點
當前提交
44e9e5e12d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      components/dp/core/src/wlan_dp_txrx.c

+ 2 - 2
components/dp/core/src/wlan_dp_txrx.c

@@ -678,8 +678,8 @@ dp_start_xmit(struct wlan_dp_intf *dp_intf, qdf_nbuf_t nbuf)
 	dp_fix_broadcast_eapol(dp_intf, nbuf);
 
 	if (dp_intf->tx_fn(soc, dp_intf->intf_id, nbuf)) {
-		dp_debug("Failed to send packet from adapter %u",
-			 dp_intf->intf_id);
+		dp_debug_rl("Failed to send packet from adapter %u",
+			    dp_intf->intf_id);
 		goto drop_pkt_and_release_nbuf;
 	}