diff options
Diffstat (limited to 'src/vlib/buffer.h')
-rw-r--r-- | src/vlib/buffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h index 99f40e840a5..493d111041e 100644 --- a/src/vlib/buffer.h +++ b/src/vlib/buffer.h @@ -185,6 +185,8 @@ typedef struct */ #define vlib_prefetch_buffer_header(b,type) CLIB_PREFETCH (b, 64, type) +#define vlib_prefetch_buffer_data(b,type) \ + CLIB_PREFETCH (vlib_buffer_get_current(b), CLIB_CACHE_LINE_BYTES, type) always_inline void vlib_buffer_struct_is_sane (vlib_buffer_t * b) |