X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fsvm%2Fsvm_fifo.h;h=9cb93ff414d61ebc907bf4898fc31401cd0c1e0f;hb=10d8cc6bf92851fcaec4a6b4c6d3554dc1eb2386;hp=693691639ba05650d2785ddf9b4dca03de433f36;hpb=26261594a0b821770aa0a646cba8399aa6320c2e;p=vpp.git diff --git a/src/svm/svm_fifo.h b/src/svm/svm_fifo.h index 693691639ba..9cb93ff414d 100644 --- a/src/svm/svm_fifo.h +++ b/src/svm/svm_fifo.h @@ -38,7 +38,7 @@ format_function_t format_ooo_list; #define OOO_SEGMENT_INVALID_INDEX ((u32)~0) -typedef struct +typedef struct _svm_fifo { volatile u32 cursize; /**< current fifo size */ u32 nitems; @@ -62,7 +62,8 @@ typedef struct ooo_segment_t *ooo_segments; /**< Pool of ooo segments */ u32 ooos_list_head; /**< Head of out-of-order linked-list */ u32 ooos_newest; /**< Last segment to have been updated */ - + struct _svm_fifo *next; /**< next in freelist/active chain */ + struct _svm_fifo *prev; /**< prev in active chain */ CLIB_CACHE_LINE_ALIGN_MARK (data); } svm_fifo_t;