Lines Matching refs:new_numqs

554 ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs)  in ice_alloc_lan_q_ctx()  argument
565 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs, in ice_alloc_lan_q_ctx()
570 for (idx = 0; idx < new_numqs; idx++) { in ice_alloc_lan_q_ctx()
576 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx()
580 if (new_numqs > vsi_ctx->num_lan_q_entries[tc]) { in ice_alloc_lan_q_ctx()
583 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs, in ice_alloc_lan_q_ctx()
592 for (idx = prev_num; idx < new_numqs; idx++) { in ice_alloc_lan_q_ctx()
598 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx()
611 ice_alloc_rdma_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) in ice_alloc_rdma_q_ctx() argument
622 new_numqs, in ice_alloc_rdma_q_ctx()
627 vsi_ctx->num_rdma_q_entries[tc] = new_numqs; in ice_alloc_rdma_q_ctx()
631 if (new_numqs > vsi_ctx->num_rdma_q_entries[tc]) { in ice_alloc_rdma_q_ctx()
634 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs, in ice_alloc_rdma_q_ctx()
642 vsi_ctx->num_rdma_q_entries[tc] = new_numqs; in ice_alloc_rdma_q_ctx()
1827 u8 tc, u16 new_numqs, u8 owner) in ice_sched_update_vsi_child_nodes() argument
1854 if (new_numqs <= prev_numqs) in ice_sched_update_vsi_child_nodes()
1857 status = ice_alloc_lan_q_ctx(hw, vsi_handle, tc, new_numqs); in ice_sched_update_vsi_child_nodes()
1861 status = ice_alloc_rdma_q_ctx(hw, vsi_handle, tc, new_numqs); in ice_sched_update_vsi_child_nodes()
1866 if (new_numqs) in ice_sched_update_vsi_child_nodes()
1867 ice_sched_calc_vsi_child_nodes(hw, new_numqs, new_num_nodes); in ice_sched_update_vsi_child_nodes()
1880 vsi_ctx->sched.max_lanq[tc] = new_numqs; in ice_sched_update_vsi_child_nodes()
1882 vsi_ctx->sched.max_rdmaq[tc] = new_numqs; in ice_sched_update_vsi_child_nodes()