qcacmn: Implement new INI to switch-on/off excessive logging in DP
In datapath, some of the messages get printed everytime when packet is received or sent. This situation ends up in excessive logging which leads to stability issue. In order to fix the situation, provide knob through INI to control excessive logging and create new macro for logging the message which comes under per packet path. Change-Id: I2af5f9bf39540f952138aa8308401a387fe62bf1 CRs-Fixed: 2376998
This commit is contained in:

committad av
nshrivas

förälder
9cf1aa027b
incheckning
03ba0f55cf
@@ -596,6 +596,11 @@
|
||||
WLAN_CFG_RXDMA_ERR_DST_RING_SIZE, \
|
||||
CFG_VALUE_OR_DEFAULT, "RXDMA err destination ring")
|
||||
|
||||
#define CFG_DP_PER_PKT_LOGGING \
|
||||
CFG_INI_UINT("enable_verbose_debug", \
|
||||
0, 0xffff, 0, \
|
||||
CFG_VALUE_OR_DEFAULT, "Enable excessive per packet logging")
|
||||
|
||||
#define CFG_DP_TX_FLOW_START_QUEUE_OFFSET \
|
||||
CFG_INI_UINT("TxFlowStartQueueOffset", \
|
||||
0, 30, WLAN_CFG_TX_FLOW_START_QUEUE_OFFSET, \
|
||||
@@ -685,6 +690,7 @@
|
||||
CFG(CFG_DP_RXDMA_MONITOR_STATUS_RING) \
|
||||
CFG(CFG_DP_RXDMA_MONITOR_DESC_RING) \
|
||||
CFG(CFG_DP_RXDMA_ERR_DST_RING) \
|
||||
CFG(CFG_DP_PER_PKT_LOGGING) \
|
||||
CFG(CFG_DP_TX_FLOW_START_QUEUE_OFFSET) \
|
||||
CFG(CFG_DP_TX_FLOW_STOP_QUEUE_TH) \
|
||||
CFG(CFG_DP_IPA_UC_TX_BUF_SIZE) \
|
||||
|
Referens i nytt ärende
Block a user