qcacmn: add nbuf map result check when replenish

add the nbuf map result checking when replenish rx
nbuf to monitor status ring, this could avoid the
case nbuf map failed and invalid dma address
posted to HW or do unmap for unmapped nbuf.

Change-Id: I45cfc015f71a2d7295f7fcb4803bd6e68e2752d4
CRs-Fixed: 2182546
This commit is contained in:
jinweic chen
2018-02-02 15:03:41 +08:00
committed by nshrivas
vanhempi af08a97d27
commit c3546321b6
4 muutettua tiedostoa jossa 118 lisäystä ja 28 poistoa

Näytä tiedosto

@@ -142,6 +142,9 @@
#define QDF_NBUF_TX_PKT_STATE_MAX 10
#define QDF_NBUF_TX_PKT_LI_DP 11
/* qdf_nbuf allocate and map max retry threshold when failed */
#define QDF_NBUF_ALLOC_MAP_RETRY_THRESHOLD 20
/* Enable flag to print TSO specific prints in datapath */
#ifdef TSO_DEBUG_LOG_ENABLE
#define TSO_DEBUG(fmt, args ...) \