qcacmn: Avoid logging in packet transmission path
Currently if the driver is in runtime suspend/suspending state, any packet transmission will request for resume via hif_pm_runtime_get. Unfortunately there is a logging in the above API which will lead to more time consumption in the NET_TX softirq context. This can lead to other delay in processing other softirqs in the system. Fix this by skipping the logging in the packet transmission path. Change-Id: Icc9f5b67794f7666243eb059f2e07a06a987002e CRs-Fixed: 2844126
Cette révision appartient à :
@@ -1031,7 +1031,8 @@ int hif_pm_runtime_put_sync_suspend(struct hif_opaque_softc *hif_ctx,
|
||||
wlan_rtpm_dbgid rtpm_dbgid);
|
||||
int hif_pm_runtime_request_resume(struct hif_opaque_softc *hif_ctx);
|
||||
int hif_pm_runtime_get(struct hif_opaque_softc *hif_ctx,
|
||||
wlan_rtpm_dbgid rtpm_dbgid);
|
||||
wlan_rtpm_dbgid rtpm_dbgid,
|
||||
bool is_critical_ctx);
|
||||
void hif_pm_runtime_get_noresume(struct hif_opaque_softc *hif_ctx,
|
||||
wlan_rtpm_dbgid rtpm_dbgid);
|
||||
int hif_pm_runtime_put(struct hif_opaque_softc *hif_ctx,
|
||||
@@ -1079,7 +1080,8 @@ hif_pm_runtime_get_noresume(struct hif_opaque_softc *hif_ctx,
|
||||
{}
|
||||
|
||||
static inline int
|
||||
hif_pm_runtime_get(struct hif_opaque_softc *hif_ctx, wlan_rtpm_dbgid rtpm_dbgid)
|
||||
hif_pm_runtime_get(struct hif_opaque_softc *hif_ctx, wlan_rtpm_dbgid rtpm_dbgid,
|
||||
bool is_critical_ctx)
|
||||
{ return 0; }
|
||||
static inline int
|
||||
hif_pm_runtime_put(struct hif_opaque_softc *hif_ctx, wlan_rtpm_dbgid rtpm_dbgid)
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur