net/mlx5: support connection tracking between two ports
[dpdk.git] / drivers / event / octeontx2 / otx2_tim_evdev.h
index 2492252..caa6ad3 100644 (file)
@@ -177,6 +177,32 @@ tim_priv_get(void)
        return mz->addr;
 }
 
+#ifdef RTE_ARCH_ARM64
+static inline uint64_t
+tim_cntvct(void)
+{
+       return __rte_arm64_cntvct();
+}
+
+static inline uint64_t
+tim_cntfrq(void)
+{
+       return __rte_arm64_cntfrq();
+}
+#else
+static inline uint64_t
+tim_cntvct(void)
+{
+       return 0;
+}
+
+static inline uint64_t
+tim_cntfrq(void)
+{
+       return 0;
+}
+#endif
+
 #define TIM_ARM_FASTPATH_MODES                                                 \
        FP(sp, 0, 0, 0, OTX2_TIM_ENA_DFB | OTX2_TIM_SP)                        \
        FP(mp, 0, 0, 1, OTX2_TIM_ENA_DFB | OTX2_TIM_MP)                        \