src/dpdk/drivers/mempool/octeontx2/otx2_mempool.h
static inline uint64_t
npa_lf_aura_handle_gen(uint32_t aura_id, uintptr_t addr)
{
	uint64_t val;

	val = aura_id & AURA_ID_MASK;
	return (uint64_t)addr | val;
}
/*
 * Generate 64bit handle to have optimized alloc and free aura operation.
 * 0 - AURA_ID_MASK for storing the aura_id.
 * AURA_ID_MASK+1 - (2^64 - 1) for storing the lf base address.
 * This scheme is valid when OS can give AURA_ID_MASK
 * aligned address for lf base address.
 */
Generate 64bit handle to have optimized alloc and free aura operation.
0 - AURA_ID_MASK for storing the aura_id.
AURA_ID_MASK+1 - (2^64 - 1) for storing the lf base address.
This scheme is valid when OS can give AURA_ID_MASK
aligned address for lf base address.
Generate 64bit handle to have optimized alloc and free aura operation . 0 - AURA_ID_MASK for storing the aura_id . AURA_ID_MASK + 1 - ( 2^64 - 1 ) for storing the lf base address . This scheme is valid when OS can give AURA_ID_MASK aligned address for lf base address .
static inline uint64_t
npa_lf_aura_handle_gen(uint32_t aura_id, uintptr_t addr)
{
	uint64_t val;
	val = aura_id & AURA_ID_MASK;
	return (uint64_t)addr | val;
}
static inline uint64_t npa_lf_aura_handle_gen ( uint32_t aura_id , uintptr_t addr ) { uint64_t val ; val = aura_id & AURA_ID_MASK ; return ( uint64_t ) addr | val ; }
Generate 64bit handle to have optimized alloc and free aura operation.
Generate 64bit handle to have optimized alloc and free aura operation .