|
@@ -1025,6 +1025,7 @@ void hif_print_napi_stats(struct hif_opaque_softc *hif_ctx)
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef HIF_LATENCY_PROFILE_ENABLE
|
|
void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx)
|
|
void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx)
|
|
{
|
|
{
|
|
struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx);
|
|
struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx);
|
|
@@ -1041,6 +1042,12 @@ void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx)
|
|
sizeof(napii->sched_latency_stats), 0);
|
|
sizeof(napii->sched_latency_stats), 0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+#else
|
|
|
|
+inline void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+#endif /* HIF_LATENCY_PROFILE_ENABLE */
|
|
|
|
+
|
|
#else
|
|
#else
|
|
static inline void
|
|
static inline void
|
|
hif_napi_update_service_start_time(struct qca_napi_info *napi_info)
|
|
hif_napi_update_service_start_time(struct qca_napi_info *napi_info)
|