src/dpdk/drivers/mempool/octeontx/octeontx_fpavf.c
int
octeontx_fpa_bufpool_block_size(uintptr_t handle)
{
	struct fpavf_res *res = NULL;
	uint8_t gpool;

	if (unlikely(!octeontx_fpa_handle_valid(handle)))
		return -EINVAL;

	/* get the gpool */
	gpool = octeontx_fpa_bufpool_gpool(handle);
	res = octeontx_get_fpavf(gpool);
	return res ? FPA_CACHE_LINE_2_OBJSZ(res->sz128) : 0;
}
/*
 * Return buffer size for a given pool
 */
Return buffer size for a given pool
Return buffer size for a given pool
int
octeontx_fpa_bufpool_block_size(uintptr_t handle)
{
	struct fpavf_res *res = NULL;
	uint8_t gpool;
	if (unlikely(!octeontx_fpa_handle_valid(handle)))
		return -EINVAL;
	gpool = octeontx_fpa_bufpool_gpool(handle);
	res = octeontx_get_fpavf(gpool);
	return res ? FPA_CACHE_LINE_2_OBJSZ(res->sz128) : 0;
}
int octeontx_fpa_bufpool_block_size ( uintptr_t handle ) { struct fpavf_res * res = NULL ; uint8_t gpool ; if ( unlikely ( ! octeontx_fpa_handle_valid ( handle ) ) ) return - EINVAL ; gpool = octeontx_fpa_bufpool_gpool ( handle ) ; res = octeontx_get_fpavf ( gpool ) ; return res ? FPA_CACHE_LINE_2_OBJSZ ( res -> sz128 ) : 0 ; }
Return buffer size for a given pool
Return buffer size for a given pool
/* get the gpool */