qcacmn: Enable data path polling mode based on INI

Enable data path polling mode based on INI
dp_poll_mode_enable. Configure all data path
interfacing rings (UMAC/LMAC) and Monitor rings
in polling mode when NSS offload is disabled.
By default, poll mode is disabled.

Change-Id: I0e51207042811f517a423eb7276e3f33c5313450
This commit is contained in:
Sridhar Selvaraj
2020-08-25 10:32:30 +05:30
committed by snandini
parent e5b0acba4d
commit b257b236b0
4 changed files with 42 additions and 4 deletions

View File

@@ -965,6 +965,10 @@
CFG_INI_BOOL("dp_rx_buff_prealloc_pool", false, \
"Enable/Disable DP RX emergency buffer pool support")
#define CFG_DP_POLL_MODE_ENABLE \
CFG_INI_BOOL("dp_poll_mode_enable", false, \
"Enable/Disable Polling mode for data path")
#define CFG_DP \
CFG(CFG_DP_HTT_PACKET_TYPE) \
CFG(CFG_DP_INT_BATCH_THRESHOLD_OTHER) \
@@ -1047,5 +1051,6 @@
CFG(CFG_DP_RX_BUFF_POOL_ENABLE) \
CFG(CFG_DP_RX_PENDING_HL_THRESHOLD) \
CFG(CFG_DP_RX_PENDING_LO_THRESHOLD) \
CFG(CFG_DP_LEGACY_MODE_CSUM_DISABLE)
CFG(CFG_DP_LEGACY_MODE_CSUM_DISABLE) \
CFG(CFG_DP_POLL_MODE_ENABLE)
#endif /* _CFG_DP_H_ */