Lines Matching full:qos
46 node->traffic_class = vsi->qos[user_pri].traffic_class; in irdma_alloc_node()
48 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node()
52 node->lan_qs_handle = vsi->qos[user_pri].lan_qos_handle; in irdma_alloc_node()
113 vsi->qos[node->user_pri].qs_handle = node_info.qs_handle; in irdma_ws_cqp_cmd()
160 mutex_lock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
161 if (!list_empty(&vsi->qos[user_pri].qplist)) { in irdma_tc_in_use()
162 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
170 if (vsi->qos[i].traffic_class == vsi->qos[user_pri].traffic_class && in irdma_tc_in_use()
171 !list_empty(&vsi->qos[i].qplist)) { in irdma_tc_in_use()
172 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
176 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
192 traffic_class = vsi->qos[user_pri].traffic_class; in irdma_remove_leaf()
194 if (vsi->qos[i].traffic_class == traffic_class) in irdma_remove_leaf()
195 vsi->qos[i].valid = false; in irdma_remove_leaf()
207 vsi->qos[user_pri].traffic_class, in irdma_remove_leaf()
251 if (vsi->qos[user_pri].valid) in irdma_ws_add()
301 traffic_class = vsi->qos[user_pri].traffic_class; in irdma_ws_add()
345 if (vsi->qos[i].traffic_class == traffic_class) { in irdma_ws_add()
346 vsi->qos[i].qs_handle = tc_node->qs_handle; in irdma_ws_add()
347 vsi->qos[i].lan_qos_handle = tc_node->lan_qs_handle; in irdma_ws_add()
348 vsi->qos[i].l2_sched_node_id = tc_node->l2_sched_node_id; in irdma_ws_add()
349 vsi->qos[i].valid = true; in irdma_ws_add()