mempool/octeontx: fix build with old gcc
[dpdk.git] / drivers / mempool / octeontx / octeontx_fpavf.h
index 4da91f1..7a39cd2 100644 (file)
@@ -92,8 +92,6 @@
 #define FPA_MAX_OBJ_SIZE               (128 * 1024)
 #define OCTEONTX_FPAVF_BUF_OFFSET      128
 
-#define FPAVF_STATIC_ASSERTION(s) _Static_assert(s, #s)
-
 /*
  * In Cavium OcteonTX SoC, all accesses to the device registers are
  * implicitly strongly ordered. So, the relaxed version of IO operation is
@@ -136,7 +134,11 @@ octeontx_fpa_bufpool_create(unsigned int object_size, unsigned int object_count,
                                unsigned int buf_offset, char **va_start,
                                int node);
 int
+octeontx_fpa_bufpool_destroy(uintptr_t handle, int node);
+int
 octeontx_fpa_bufpool_block_size(uintptr_t handle);
+int
+octeontx_fpa_bufpool_free_count(uintptr_t handle);
 
 static __rte_always_inline uint8_t
 octeontx_fpa_bufpool_gpool(uintptr_t handle)