lib: update tailq api
[dpdk.git] / lib / librte_eal / common / include / rte_eal_memconfig.h
index a4cd4c8..6b26815 100644 (file)
 extern "C" {
 #endif
 
+/**
+ * Index type of tailq_head
+ */ 
+enum rte_tailq_t {
+#define rte_tailq_elem(idx, name)     idx,
+#define rte_tailq_end(idx)            idx
+#include <rte_tailq_elem.h>
+};
+
 /**
  * the structure for the memory configuration for the RTE.
  * Used by the rte_config structure. It is separated out, as for multi-process