eal: simplify meson build of common directory
[dpdk.git] / lib / librte_eal / common / include / rte_class.h
index 70edb40..856d09b 100644 (file)
@@ -15,7 +15,7 @@
  *
  * A device class defines the type of function a device
  * will be used for e.g.: Ethernet adapter (eth),
- * cryptographic coprocessor (crypto), etc.
+ * cryptographic co-processor (crypto), etc.
  */
 
 #ifdef __cplusplus
@@ -35,6 +35,7 @@ TAILQ_HEAD(rte_class_list, rte_class);
 struct rte_class {
        TAILQ_ENTRY(rte_class) next; /**< Next device class in linked list */
        const char *name; /**< Name of the class */
+       rte_dev_iterate_t dev_iterate; /**< Device iterator. */
 };
 
 /**