FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | CLIB_LOG2_CACHE_LINE_BYTES 6 |
#define | CLIB_LOG2_CACHE_PREFETCH_BYTES CLIB_LOG2_CACHE_LINE_BYTES |
#define | CLIB_N_PREFETCHES 16 |
#define | CLIB_CACHE_LINE_BYTES (1 << CLIB_LOG2_CACHE_LINE_BYTES) |
#define | CLIB_CACHE_PREFETCH_BYTES (1 << CLIB_LOG2_CACHE_PREFETCH_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_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)) |
#define CLIB_CACHE_PREFETCH_BYTES (1 << CLIB_LOG2_CACHE_PREFETCH_BYTES) |
#define CLIB_LOG2_CACHE_PREFETCH_BYTES CLIB_LOG2_CACHE_LINE_BYTES |
static_always_inline void clib_prefetch_load | ( | void * | p | ) |
static_always_inline void clib_prefetch_store | ( | void * | p | ) |