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

Function ice_create_all_ctrlq

dpdk/drivers/net/ice/base/ice_controlq.c:794–802  ·  view source on GitHub ↗

* ice_create_all_ctrlq - main initialization routine for all control queues * @hw: pointer to the hardware structure * * Prior to calling this function, the driver *MUST* set the following fields * in the cq->structure for all control queues: * - cq->num_sq_entries * - cq->num_rq_entries * - cq->rq_buf_size * - cq->sq_buf_size * * This function creates all the control que

Source from the content-addressed store, hash-verified

792 * ice_init_all_ctrlq instead.
793 */
794enum ice_status ice_create_all_ctrlq(struct ice_hw *hw)
795{
796 ice_init_ctrlq_locks(&hw->adminq);
797 if (ice_is_sbq_supported(hw))
798 ice_init_ctrlq_locks(&hw->sbq);
799 ice_init_ctrlq_locks(&hw->mailboxq);
800
801 return ice_init_all_ctrlq(hw);
802}
803
804/**
805 * ice_destroy_ctrlq_locks - Destroy locks for a control queue

Callers 1

ice_init_hwFunction · 0.85

Calls 3

ice_init_ctrlq_locksFunction · 0.85
ice_is_sbq_supportedFunction · 0.85
ice_init_all_ctrlqFunction · 0.85

Tested by

no test coverage detected