6 #ifndef __RTE_EVENT_TIMER_ADAPTER_PMD_H__
7 #define __RTE_EVENT_TIMER_ADAPTER_PMD_H__
32 typedef int (*rte_event_timer_adapter_init_t)(
33 struct rte_event_timer_adapter *adapter);
35 typedef int (*rte_event_timer_adapter_uninit_t)(
36 struct rte_event_timer_adapter *adapter);
38 typedef int (*rte_event_timer_adapter_start_t)(
39 const struct rte_event_timer_adapter *adapter);
41 typedef int (*rte_event_timer_adapter_stop_t)(
42 const struct rte_event_timer_adapter *adapter);
44 typedef void (*rte_event_timer_adapter_get_info_t)(
45 const struct rte_event_timer_adapter *adapter,
48 typedef int (*rte_event_timer_adapter_stats_get_t)(
49 const struct rte_event_timer_adapter *adapter,
52 typedef int (*rte_event_timer_adapter_stats_reset_t)(
53 const struct rte_event_timer_adapter *adapter);
60 struct rte_event_timer_adapter_ops {
61 rte_event_timer_adapter_init_t init;
62 rte_event_timer_adapter_uninit_t uninit;
63 rte_event_timer_adapter_start_t start;
64 rte_event_timer_adapter_stop_t stop;
65 rte_event_timer_adapter_get_info_t get_info;
67 rte_event_timer_adapter_stats_get_t stats_get;
69 rte_event_timer_adapter_stats_reset_t stats_reset;
71 rte_event_timer_arm_burst_t arm_burst;
73 rte_event_timer_arm_tmo_tick_burst_t arm_tmo_tick_burst;
75 rte_event_timer_cancel_burst_t cancel_burst;
83 struct rte_event_timer_adapter_data {
90 uint8_t event_port_id;
100 uint8_t service_inited;
#define __rte_cache_aligned