FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | CLIB_LOG2_CACHE_LINE_BYTES 6 |
#define | CLIB_CACHE_LINE_BYTES (1 << CLIB_LOG2_CACHE_LINE_BYTES) |
#define | CLIB_CACHE_LINE_ALIGN_MARK(mark) u8 mark[0] __attribute__((aligned(CLIB_CACHE_LINE_BYTES))) |
#define | CLIB_CACHE_LINE_ROUND(x) ((x + CLIB_CACHE_LINE_BYTES - 1) & ~(CLIB_CACHE_LINE_BYTES - 1)) |
#define | CLIB_N_PREFETCHES 16 |
#define | CLIB_PREFETCH_READ 0 |
#define | CLIB_PREFETCH_LOAD 0 /* alias for read */ |
#define | CLIB_PREFETCH_WRITE 1 |
#define | CLIB_PREFETCH_STORE 1 /* alias for write */ |
#define | CLIB_PREFETCH(addr, size, type) |
Functions | |
static_always_inline void | clib_prefetch_load (void *p) |
static_always_inline void | clib_prefetch_store (void *p) |
#define CLIB_CACHE_LINE_ALIGN_MARK | ( | mark | ) | u8 mark[0] __attribute__((aligned(CLIB_CACHE_LINE_BYTES))) |
#define CLIB_CACHE_LINE_BYTES (1 << CLIB_LOG2_CACHE_LINE_BYTES) |
#define CLIB_CACHE_LINE_ROUND | ( | x | ) | ((x + CLIB_CACHE_LINE_BYTES - 1) & ~(CLIB_CACHE_LINE_BYTES - 1)) |
static_always_inline void clib_prefetch_load | ( | void * | p | ) |
static_always_inline void clib_prefetch_store | ( | void * | p | ) |