nat: Include platform specific headers on FreeBSD
[vpp.git] / src / svm / fifo_types.h
index aa8c361..742351b 100644 (file)
@@ -78,6 +78,7 @@ typedef struct svm_fifo_shr_
   u32 head;                    /**< fifo head position/byte */
   volatile u32 want_deq_ntf;   /**< producer wants nudge */
   volatile u32 has_deq_ntf;
+  u32 deq_thresh; /**< fifo threshold used for notifications */
 
   CLIB_CACHE_LINE_ALIGN_MARK (producer);
   u32 tail;                    /**< fifo tail position/byte */
@@ -140,10 +141,7 @@ struct fifo_segment_header_
   u32 n_active_fifos;                  /**< Number of active fifos */
   u32 n_reserved_bytes;                        /**< Bytes not to be allocated */
   u32 max_log2_fifo_size;              /**< Max log2(chunk size) for fs */
-  u8 flags;                            /**< Segment flags */
   u8 n_slices;                         /**< Number of slices */
-  u8 high_watermark;                   /**< Memory pressure watermark high */
-  u8 low_watermark;                    /**< Memory pressure watermark low */
   u8 pct_first_alloc;                  /**< Pct of fifo size to alloc */
   u8 n_mqs;                            /**< Num mqs for mqs segment */
   CLIB_CACHE_LINE_ALIGN_MARK (allocator);