]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_stack/rte_stack_lf.h
stack: add C11 atomic implementation
[dpdk.git] / lib / librte_stack / rte_stack_lf.h
index bfd6801330bccafd2b4c9a2774d1ec54dfa4b579..518889a05a8111e61fbe91b36e2f8a7632b3bf00 100644 (file)
@@ -5,7 +5,11 @@
 #ifndef _RTE_STACK_LF_H_
 #define _RTE_STACK_LF_H_
 
+#ifdef RTE_USE_C11_MEM_MODEL
+#include "rte_stack_lf_c11.h"
+#else
 #include "rte_stack_lf_generic.h"
+#endif
 
 /**
  * @internal Push several objects on the lock-free stack (MT-safe).