Searched refs:l2params (Results 1 – 6 of 6) sorted by relevance
63 static void irdma_fill_qos_info(struct irdma_l2params *l2params, in irdma_fill_qos_info() argument68 l2params->num_tc = qos_info->num_tc; in irdma_fill_qos_info()69 l2params->vsi_prio_type = qos_info->vport_priority_type; in irdma_fill_qos_info()70 l2params->vsi_rel_bw = qos_info->vport_relative_bw; in irdma_fill_qos_info()71 for (i = 0; i < l2params->num_tc; i++) { in irdma_fill_qos_info()72 l2params->tc_info[i].egress_virt_up = in irdma_fill_qos_info()74 l2params->tc_info[i].ingress_virt_up = in irdma_fill_qos_info()76 l2params->tc_info[i].prio_type = qos_info->tc_info[i].prio_type; in irdma_fill_qos_info()77 l2params->tc_info[i].rel_bw = qos_info->tc_info[i].rel_bw; in irdma_fill_qos_info()78 l2params->tc_info[i].tc_ctx = qos_info->tc_info[i].tc_ctx; in irdma_fill_qos_info()[all …]
19 struct irdma_l2params l2params = {}; in i40iw_l2param_change() local30 l2params.mtu_changed = true; in i40iw_l2param_change()31 l2params.mtu = params->mtu; in i40iw_l2param_change()33 irdma_change_l2params(&iwdev->vsi, &l2params); in i40iw_l2param_change()108 struct irdma_l2params l2params = {}; in i40iw_open() local134 l2params.mtu = (cdev_info->params.mtu) ? cdev_info->params.mtu : IRDMA_DEFAULT_MTU; in i40iw_open()137 l2params.up2tc[i] = cdev_info->params.qos.prio_qos[i].tc; in i40iw_open()138 l2params.qs_handle_list[i] = qset; in i40iw_open()145 if (irdma_rt_init_hw(iwdev, &l2params)) { in i40iw_open()
57 struct irdma_l2params *l2params);
464 struct irdma_l2params *l2params);
103 struct irdma_l2params *l2params) in irdma_change_l2params() argument105 if (l2params->mtu_changed) { in irdma_change_l2params()106 vsi->mtu = l2params->mtu; in irdma_change_l2params()111 if (!l2params->tc_changed) in irdma_change_l2params()115 irdma_set_qos_info(vsi, l2params); in irdma_change_l2params()
1758 struct irdma_l2params *l2params) in irdma_rt_init_hw() argument1768 vsi_info.params = l2params; in irdma_rt_init_hw()