Line data Source code
1 : #ifndef HEADER_fd_discof_restore_fd_snaplv_tile_private_h 2 : #define HEADER_fd_discof_restore_fd_snaplv_tile_private_h 3 : 4 : #include "utils/fd_ssparse.h" 5 : 6 : /* FD_SNAPLV_DUP_PENDING_CNT_MAX is the maximum number of duplicate 7 : requests received from snapwm that can be placed on hold until the 8 : corresponding bstream_seq(s) have been processed by snapwr. 9 : FD_SNAPLV_DUP_BATCH_IN_CNT_MAX is the maximum number of accounts that 10 : an input batch may contain, and in turn is the maximum amount of 11 : duplicate requests that snaplv could forward to snaplv tiles, 12 : provided that all have low enough bstream_seq(s) that allow them to 13 : bypass the pending list. 14 : FD_SNAPLV_DUP_BATCH_OUT_CNT_MAX is the total burst size of duplicate 15 : requests that snaplv can issue at anu given time. */ 16 0 : #define FD_SNAPLV_DUP_PENDING_CNT_MAX (8UL) 17 0 : #define FD_SNAPLV_DUP_BATCH_IN_CNT_MAX (FD_SSPARSE_ACC_BATCH_MAX) 18 0 : #define FD_SNAPLV_DUP_BATCH_OUT_CNT_MAX (FD_SNAPLV_DUP_PENDING_CNT_MAX+FD_SNAPLV_DUP_BATCH_IN_CNT_MAX) 19 0 : #define FD_SNAPLV_DUP_META_SZ (sizeof(ulong)+sizeof(fd_vinyl_bstream_phdr_t)) 20 : 21 : /* Maximum burst may contain one control message and one malformed 22 : message, in addition to FD_SNAPLV_DUP_BATCH_OUT_CNT_MAX requests to 23 : be forwarded. */ 24 0 : #define FD_SNAPLV_STEM_BURST (2UL+FD_SNAPLV_DUP_BATCH_OUT_CNT_MAX) 25 : 26 : #endif /* HEADER_fd_discof_restore_fd_snaplv_tile_private_h */