qcacmn: Support REO2SW ring pointer update threshold configuration

Support REO2SW ring pointer update threshold configuration,
it is helpful for PCIe utilization improvement.
timer based threshold - M: issue pointer updates when M micro
seconds has elapsed.
number based threshold - N: issue pointer updates when N entries
updates occur.

Change-Id: I49ed388520fd52e97e303d6ea9c04ced6cb5cf5f
CRs-Fixed: 3420101
This commit is contained in:
Jinwei Chen
2023-02-28 05:13:24 -08:00
committed by Madan Koyyalamudi
parent c66b8677cf
commit c2c0f7f7f9
9 changed files with 186 additions and 2 deletions

View File

@@ -1021,6 +1021,10 @@ struct hal_srng_params {
/* Safe threshold */
uint16_t safe_thresh;
#endif
/* Timer threshold to issue ring pointer update - in micro seconds */
uint16_t pointer_timer_threshold;
/* Number threshold of ring entries to issue pointer update */
uint8_t pointer_num_threshold;
};
/**