* 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
| 792 | * ice_init_all_ctrlq instead. |
| 793 | */ |
| 794 | enum 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 |
no test coverage detected