Lines Matching refs:arr

159 			   qed_dcbx_app_update[i].name, p_data->arr[id].update,  in qed_dcbx_dp_protocol()
160 p_data->arr[id].enable, p_data->arr[id].priority, in qed_dcbx_dp_protocol()
161 p_data->arr[id].tc, p_hwfn->hw_info.num_active_tc); in qed_dcbx_dp_protocol()
173 p_data->arr[type].enable = enable; in qed_dcbx_set_params()
174 p_data->arr[type].priority = prio; in qed_dcbx_set_params()
175 p_data->arr[type].tc = tc; in qed_dcbx_set_params()
177 p_data->arr[type].update = UPDATE_DCB; in qed_dcbx_set_params()
179 p_data->arr[type].update = DONT_UPDATE_DCB_DSCP; in qed_dcbx_set_params()
182 p_data->arr[type].dont_add_vlan0 = true; in qed_dcbx_set_params()
301 p_data->arr[DCBX_PROTOCOL_ETH].tc = p_hwfn->ufp_info.tc; in qed_dcbx_process_tlv()
309 tc = p_data->arr[DCBX_PROTOCOL_ETH].tc; in qed_dcbx_process_tlv()
310 priority = p_data->arr[DCBX_PROTOCOL_ETH].priority; in qed_dcbx_process_tlv()
312 if (p_data->arr[type].update) in qed_dcbx_process_tlv()
426 if (p_results->arr[DCBX_PROTOCOL_ROCE].update && in qed_dcbx_get_priority_info()
427 p_results->arr[DCBX_PROTOCOL_ROCE].enable) in qed_dcbx_get_priority_info()
428 p_prio->roce = p_results->arr[DCBX_PROTOCOL_ROCE].priority; in qed_dcbx_get_priority_info()
430 if (p_results->arr[DCBX_PROTOCOL_ROCE_V2].update && in qed_dcbx_get_priority_info()
431 p_results->arr[DCBX_PROTOCOL_ROCE_V2].enable) { in qed_dcbx_get_priority_info()
432 val = p_results->arr[DCBX_PROTOCOL_ROCE_V2].priority; in qed_dcbx_get_priority_info()
436 if (p_results->arr[DCBX_PROTOCOL_ISCSI].update && in qed_dcbx_get_priority_info()
437 p_results->arr[DCBX_PROTOCOL_ISCSI].enable) in qed_dcbx_get_priority_info()
438 p_prio->iscsi = p_results->arr[DCBX_PROTOCOL_ISCSI].priority; in qed_dcbx_get_priority_info()
440 if (p_results->arr[DCBX_PROTOCOL_FCOE].update && in qed_dcbx_get_priority_info()
441 p_results->arr[DCBX_PROTOCOL_FCOE].enable) in qed_dcbx_get_priority_info()
442 p_prio->fcoe = p_results->arr[DCBX_PROTOCOL_FCOE].priority; in qed_dcbx_get_priority_info()
444 if (p_results->arr[DCBX_PROTOCOL_ETH].update && in qed_dcbx_get_priority_info()
445 p_results->arr[DCBX_PROTOCOL_ETH].enable) in qed_dcbx_get_priority_info()
446 p_prio->eth = p_results->arr[DCBX_PROTOCOL_ETH].priority; in qed_dcbx_get_priority_info()
904 val = (0x1 << p_data->arr[DCBX_PROTOCOL_ROCE].tc) | in qed_dcbx_mib_update_event()
905 (0x1 << p_data->arr[DCBX_PROTOCOL_ROCE_V2].tc); in qed_dcbx_mib_update_event()
935 p_data->dcb_enable_flag = p_src->arr[type].enable; in qed_dcbx_update_protocol_data()
936 p_data->dcb_priority = p_src->arr[type].priority; in qed_dcbx_update_protocol_data()
937 p_data->dcb_tc = p_src->arr[type].tc; in qed_dcbx_update_protocol_data()
938 p_data->dcb_dont_add_vlan0 = p_src->arr[type].dont_add_vlan0; in qed_dcbx_update_protocol_data()
948 update_flag = p_src->arr[DCBX_PROTOCOL_FCOE].update; in qed_dcbx_set_pf_update_params()
951 update_flag = p_src->arr[DCBX_PROTOCOL_ROCE].update; in qed_dcbx_set_pf_update_params()
954 update_flag = p_src->arr[DCBX_PROTOCOL_ROCE_V2].update; in qed_dcbx_set_pf_update_params()
957 update_flag = p_src->arr[DCBX_PROTOCOL_ISCSI].update; in qed_dcbx_set_pf_update_params()
959 update_flag = p_src->arr[DCBX_PROTOCOL_ETH].update; in qed_dcbx_set_pf_update_params()