|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
static void clib_spinlock_init(clib_spinlock_t *p)
#define CLIB_CACHE_LINE_ALIGN_MARK(mark)
static u32 counter_index(vlib_main_t *vm, vlib_error_t e)
static_always_inline void vlib_refcount_init(vlib_refcount_t *r)
static_always_inline void vlib_refcount_lock(clib_spinlock_t counter_lock)
vnet_hw_if_output_node_runtime_t * r
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
static_always_inline void vlib_refcount_unlock(clib_spinlock_t counter_lock)
static_always_inline void clib_spinlock_lock(clib_spinlock_t *p)
#define static_always_inline
clib_spinlock_t counter_lock
vlib_refcount_per_cpu_t * per_cpu
#define vec_validate(V, I)
Make sure vector is long enough for given index (no header, unspecified alignment)
static_always_inline void clib_spinlock_unlock(clib_spinlock_t *p)
u64 vlib_refcount_get(vlib_refcount_t *r, u32 index)
static vlib_thread_main_t * vlib_get_thread_main()
static_always_inline void vlib_refcount_add(vlib_refcount_t *r, u32 thread_index, u32 counter_index, i32 v)