Lines Matching refs:pri
176 u32 pri = MAX_PFC_PRIORITIES; in bnx2x_dcbx_get_ap_priority() local
182 while ((MAX_PFC_PRIORITIES == pri) && (0 != index)) { in bnx2x_dcbx_get_ap_priority()
185 pri = index ; in bnx2x_dcbx_get_ap_priority()
189 if (pri < MAX_PFC_PRIORITIES) in bnx2x_dcbx_get_ap_priority()
190 ttp[llfc_traf_type] = max_t(u32, ttp[llfc_traf_type], pri); in bnx2x_dcbx_get_ap_priority()
555 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config()
655 u8 pri; in bnx2x_dcbx_dcbnl_app_up() local
658 for (pri = MAX_PFC_PRIORITIES - 1; pri > 0; pri--) in bnx2x_dcbx_dcbnl_app_up()
659 if (ent->pri_bitmap & (1 << pri)) in bnx2x_dcbx_dcbnl_app_up()
661 return pri; in bnx2x_dcbx_dcbnl_app_up()
1048 u8 pri = 0; in bnx2x_dcbx_print_cos_params() local
1075 for (pri = 0; pri < LLFC_DRIVER_TRAFFIC_TYPE_MAX; pri++) { in bnx2x_dcbx_print_cos_params()
1078 pri, pfc_fw_cfg->traffic_type_to_priority_cos[pri].priority); in bnx2x_dcbx_print_cos_params()
1082 pri, pfc_fw_cfg->traffic_type_to_priority_cos[pri].cos); in bnx2x_dcbx_print_cos_params()
1824 u8 cos = 0, pri = 0; in bnx2x_dcbx_fw_struct() local
1845 for (pri = 0; pri < LLFC_DRIVER_TRAFFIC_TYPE_MAX; pri++) { in bnx2x_dcbx_fw_struct()
1846 tt2cos[pri].priority = ttp[pri]; in bnx2x_dcbx_fw_struct()
1847 pri_bit = 1 << tt2cos[pri].priority; in bnx2x_dcbx_fw_struct()
1854 tt2cos[pri].cos = cos; in bnx2x_dcbx_fw_struct()
1856 pfc_fw_cfg->dcb_outer_pri[pri] = ttp[pri]; in bnx2x_dcbx_fw_struct()