mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "msm:ipa: add stats for low latency data-path"
This commit is contained in:
commit
8ca7410b47
2 changed files with 7 additions and 1 deletions
|
|
@ -2000,6 +2000,8 @@ fail_kmem_cache_alloc:
|
|||
IPA_STATS_INC_CNT(ipa3_ctx->stats.wan_repl_rx_empty);
|
||||
else if (sys->ep->client == IPA_CLIENT_APPS_LAN_CONS)
|
||||
IPA_STATS_INC_CNT(ipa3_ctx->stats.lan_repl_rx_empty);
|
||||
else if (sys->ep->client == IPA_CLIENT_APPS_WAN_LOW_LAT_CONS)
|
||||
IPA_STATS_INC_CNT(ipa3_ctx->stats.low_lat_repl_rx_empty);
|
||||
pr_err_ratelimited("%s sys=%pK repl ring empty\n",
|
||||
__func__, sys);
|
||||
goto begin;
|
||||
|
|
@ -2663,8 +2665,10 @@ static void ipa3_fast_replenish_rx_cache(struct ipa3_sys_context *sys)
|
|||
IPA_STATS_INC_CNT(ipa3_ctx->stats.wan_rx_empty);
|
||||
else if (sys->ep->client == IPA_CLIENT_APPS_LAN_CONS)
|
||||
IPA_STATS_INC_CNT(ipa3_ctx->stats.lan_rx_empty);
|
||||
else if (sys->ep->client == IPA_CLIENT_APPS_WAN_LOW_LAT_CONS)
|
||||
IPA_STATS_INC_CNT(ipa3_ctx->stats.low_lat_rx_empty);
|
||||
else
|
||||
WARN_ON(1);
|
||||
WARN_ON_RATELIMIT_IPA(1);
|
||||
queue_delayed_work(sys->wq, &sys->replenish_rx_work,
|
||||
msecs_to_jiffies(1));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1410,6 +1410,8 @@ struct ipa3_stats {
|
|||
u32 wan_repl_rx_empty;
|
||||
u32 lan_rx_empty;
|
||||
u32 lan_repl_rx_empty;
|
||||
u32 low_lat_rx_empty;
|
||||
u32 low_lat_repl_rx_empty;
|
||||
u32 flow_enable;
|
||||
u32 flow_disable;
|
||||
u32 tx_non_linear;
|
||||
|
|
|
|||
Loading…
Reference in a new issue