diff options
Diffstat (limited to 'src/svm/svm_fifo.h')
-rw-r--r-- | src/svm/svm_fifo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/svm/svm_fifo.h b/src/svm/svm_fifo.h index 93ef006fd48..408d99a3188 100644 --- a/src/svm/svm_fifo.h +++ b/src/svm/svm_fifo.h @@ -357,13 +357,14 @@ void svm_fifo_dequeue_drop_all (svm_fifo_t * f); * data is consumed. * * @param f fifo + * @param offset offset from where to retrieve segments * @param fs array of fifo segments allocated by caller * @param n_segs number of fifo segments in array * @param max_bytes max bytes to be mapped to fifo segments * @return number of bytes in fifo segments or SVM_FIFO_EEMPTY */ -int svm_fifo_segments (svm_fifo_t * f, svm_fifo_seg_t * fs, u32 n_segs, - u32 max_bytes); +int svm_fifo_segments (svm_fifo_t * f, u32 offset, svm_fifo_seg_t * fs, + u32 n_segs, u32 max_bytes); /** * Add io events subscriber to list * |