* eal: The function ``rte_eal_remote_launch`` will return new error codes
after read or write error on the pipe, instead of calling ``rte_panic``.
-* eal: The ``rte_dev_event`` structure will be made private to the EAL as no
- public API makes use of it.
-
* rte_atomicNN_xxx: These APIs do not take memory order parameter. This does
not allow for writing optimized code for all the CPU architectures supported
in DPDK. DPDK will adopt C11 atomic operations semantics and provide wrappers
* eal: The ``rte_logs`` struct and global symbol was made private
and is no longer part of the API.
+* eal: Made the ``rte_dev_event`` structure private to the EAL as no public API
+ used it.
+
* mem: Removed the unioned field ``phys_addr`` from
the structures ``rte_memseg`` and ``rte_memzone``.
The field ``iova`` is remaining from the old unions.
RTE_DEV_EVENT_MAX /**< max value of this enum */
};
-struct rte_dev_event {
- enum rte_dev_event_type type; /**< device event type */
- int subsystem; /**< subsystem id */
- char *devname; /**< device name */
-};
-
typedef void (*rte_dev_event_cb_fn)(const char *device_name,
enum rte_dev_event_type event,
void *cb_arg);
return ret;
}
+struct rte_dev_event {
+ enum rte_dev_event_type type; /**< device event type */
+ int subsystem; /**< subsystem id */
+ char *devname; /**< device name */
+};
+
static int
dev_uev_parse(const char *buf, struct rte_dev_event *event, int length)
{