src/dpdk/drivers/common/iavf/iavf_adminq.c
enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw)
{
	enum iavf_status ret_code;

	ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf,
					 iavf_mem_arq_ring,
					 (hw->aq.num_arq_entries *
					 sizeof(struct iavf_aq_desc)),
					 IAVF_ADMINQ_DESC_ALIGNMENT);

	return ret_code;
}
/**
 *  iavf_alloc_adminq_arq_ring - Allocate Admin Queue receive rings
 *  @hw: pointer to the hardware structure
 **/
Allocate Admin Queue receive rings
@hw: pointer to the hardware structure
Allocate Admin Queue receive rings @hw : pointer to the hardware structure
enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw)
{
	enum iavf_status ret_code;
	ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf,
					 iavf_mem_arq_ring,
					 (hw->aq.num_arq_entries *
					 sizeof(struct iavf_aq_desc)),
					 IAVF_ADMINQ_DESC_ALIGNMENT);
	return ret_code;
}
enum iavf_status iavf_alloc_adminq_arq_ring ( struct iavf_hw * hw ) { enum iavf_status ret_code ; ret_code = iavf_allocate_dma_mem ( hw , & hw -> aq . arq . desc_buf , iavf_mem_arq_ring , ( hw -> aq . num_arq_entries * sizeof ( struct iavf_aq_desc ) ) , IAVF_ADMINQ_DESC_ALIGNMENT ) ; return ret_code ; }
iavf_alloc_adminq_arq_ring - Allocate Admin Queue receive rings
  @hw: pointer to the hardware structure
iavf_alloc_adminq_arq_ring - Allocate Admin Queue receive rings @hw : pointer to the hardware structure