MCPcopy Create free account
hub / github.com/F-Stack/f-stack / i40e_alloc_adminq_arq_ring

Function i40e_alloc_adminq_arq_ring

dpdk/drivers/net/i40e/base/i40e_adminq.c:78–89  ·  view source on GitHub ↗

* i40e_alloc_adminq_arq_ring - Allocate Admin Queue receive rings * @hw: pointer to the hardware structure **/

Source from the content-addressed store, hash-verified

76 * @hw: pointer to the hardware structure
77 **/
78enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw)
79{
80 enum i40e_status_code ret_code;
81
82 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.arq.desc_buf,
83 i40e_mem_arq_ring,
84 (hw->aq.num_arq_entries *
85 sizeof(struct i40e_aq_desc)),
86 I40E_ADMINQ_DESC_ALIGNMENT);
87
88 return ret_code;
89}
90
91/**
92 * i40e_free_adminq_asq - Free Admin Queue send rings

Callers 1

i40e_init_arqFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected