DPDK
1.8.0
|
#include <x86intrin.h>
Macros | |
#define | SOCKET_ID_ANY -1 |
#define | RTE_CACHE_LINE_SIZE 64 |
#define | RTE_CACHE_LINE_MASK (RTE_CACHE_LINE_SIZE-1) |
#define | __rte_cache_aligned __attribute__((__aligned__(RTE_CACHE_LINE_SIZE))) |
Functions | |
static uint32_t | rte_bsf32 (uint32_t v) |
RTE ACL OS dependent file. An example how to build/use ACL library standalone (without rest of DPDK). Don't include that file on it's own, use <rte_acl_osdep.h>.
#define __rte_cache_aligned __attribute__((__aligned__(RTE_CACHE_LINE_SIZE))) |
Force alignment to cache line.
#define RTE_CACHE_LINE_MASK (RTE_CACHE_LINE_SIZE-1) |
Cache line mask.
#define RTE_CACHE_LINE_SIZE 64 |
Cache line size.
#define SOCKET_ID_ANY -1 |
Any NUMA socket.
|
inlinestatic |
Searches the input parameter for the least significant set bit (starting from zero). If a least significant 1 bit is found, its bit index is returned. If the content of the input parameter is zero, then the content of the return value is undefined.
v | input parameter, should not be zero. |