qcacmn: Replenish more RX buffers when refill ring runs low

When nbuf allocation failure happens, there is no retry scheme.
So RX buffers in refill ring may shrink and not got enlarged.
This change is aimed to replenish more RX buffers when watermark
is less than critical low threshold.

Change-Id: I201b9e252ba08ba1bff47e0b5ec819a45f1b1ddf
CRs-Fixed: 3245915
このコミットが含まれているのは:
Yu Tian
2022-04-25 18:54:32 +08:00
committed by Madan Koyyalamudi
コミット ed3ba3ca44
3個のファイルの変更29行の追加0行の削除

ファイルの表示

@@ -1482,6 +1482,7 @@ dp_rx_update_flow_tag(struct dp_soc *soc, struct dp_vdev *vdev,
}
#endif /* WLAN_SUPPORT_RX_FLOW_TAG */
#define CRITICAL_BUFFER_THRESHOLD 64
/*
* dp_rx_buffers_replenish() - replenish rxdma ring with rx nbufs
* called during dp rx initialization