qcacmn: Ratelimit status nbuf alloc failure logging

The status nbuf replenish can fail in low memory
scenario, and the error logging can flood the console.

Ratelimit the status nbuf allocation failure logging.

Change-Id: I8e26b1060fdca62d36236f2d57fbbf7be165e3c6
CRs-Fixed: 2678202
This commit is contained in:
Rakesh Pillai 2020-05-04 19:39:16 +05:30 • committed by nshrivas
commit 5ff0936c12

View file

@ -1880,9 +1880,7 @@ dp_rx_mon_status_srng_process(struct dp_soc *soc, uint32_t mac_id,
rx_desc_pool = &soc->rx_desc_status[mac_id];
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
"%s: fail to allocate or map qdf_nbuf",
__func__);
dp_info_rl("fail to allocate or map qdf_nbuf");
dp_rx_add_to_free_desc_list(&desc_list,
&tail, rx_desc);
dp_rx_add_desc_list_to_free_list(soc, &desc_list,