qcacmn: Handle frag based ops based on rx_Desc_pool flag
Rx desc pool have a flag to identify whether frag or nbuf operation needs to be performed for alloc, map, prep and free buffer for monitor dest buffer. This flag will be set only for mon destination desc pool, if RX_MON_MEM_FRAG feature is enabled. In all other case, It will be set to Zero and default nbuf operation will be taken. This flag get initialized at the time of pdev rx_desc_pool initialization and gets reset while pdev deinit. Mon destination buffer will have support for frag if RX_MON_MEM_FRAG flag is set. Change-Id: I67c6c823ee4f114035b884c024a1a9054a40665b CRs-Fixed: 2741757
This commit is contained in:
@@ -1801,6 +1801,7 @@ struct cdp_cfr_rcc_stats {
|
||||
* @pkts: total packets replenished
|
||||
* @rxdma_err: rxdma errors for replenished
|
||||
* @nbuf_alloc_fail: nbuf alloc failed
|
||||
* @frag_alloc_fail: frag alloc failed
|
||||
* @map_err: Mapping failure
|
||||
* @x86_fail: x86 failures
|
||||
* @low_thresh_intrs: low threshold interrupts
|
||||
@@ -1846,6 +1847,7 @@ struct cdp_pdev_stats {
|
||||
struct cdp_pkt_info pkts;
|
||||
uint32_t rxdma_err;
|
||||
uint32_t nbuf_alloc_fail;
|
||||
uint32_t frag_alloc_fail;
|
||||
uint32_t map_err;
|
||||
uint32_t x86_fail;
|
||||
uint32_t low_thresh_intrs;
|
||||
|
Reference in New Issue
Block a user