]> git.droids-corp.org - dpdk.git/blobdiff - lib/eventdev/rte_event_timer_adapter.h
net/ngbe: support MTU set
[dpdk.git] / lib / eventdev / rte_event_timer_adapter.h
index cad6d3b4c5c71fa16984727b847be5af8f6d5029..15517418200d4c53b8eeb77d897d4a813d1f6c87 100644 (file)
@@ -475,8 +475,6 @@ struct rte_event_timer {
         *  - op: RTE_EVENT_OP_NEW
         *  - event_type: RTE_EVENT_TYPE_TIMER
         */
-       volatile enum rte_event_timer_state state;
-       /**< State of the event timer. */
        uint64_t timeout_ticks;
        /**< Expiry timer ticks expressed in number of *timer_ticks_ns* from
         * now.
@@ -488,6 +486,8 @@ struct rte_event_timer {
         * implementation specific values to share between the arm and cancel
         * operations.  The application should not modify this field.
         */
+       enum rte_event_timer_state state;
+       /**< State of the event timer. */
        uint8_t user_meta[0];
        /**< Memory to store user specific metadata.
         * The event timer adapter implementation should not modify this area.