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()
584 ets_params.cos[i].params.sp_params.pri = in bnx2x_dcbx_update_ets_config()
684 u8 pri; in bnx2x_dcbx_dcbnl_app_up() local
687 for (pri = MAX_PFC_PRIORITIES - 1; pri > 0; pri--) in bnx2x_dcbx_dcbnl_app_up()
688 if (ent->pri_bitmap & (1 << pri)) in bnx2x_dcbx_dcbnl_app_up()
690 return pri; in bnx2x_dcbx_dcbnl_app_up()
1077 u8 pri = 0; in bnx2x_dcbx_print_cos_params() local
1104 for (pri = 0; pri < LLFC_DRIVER_TRAFFIC_TYPE_MAX; pri++) { in bnx2x_dcbx_print_cos_params()
1107 pri, pfc_fw_cfg->traffic_type_to_priority_cos[pri].priority); in bnx2x_dcbx_print_cos_params()
1111 pri, pfc_fw_cfg->traffic_type_to_priority_cos[pri].cos); in bnx2x_dcbx_print_cos_params()
1852 u8 cos = 0, pri = 0; in bnx2x_dcbx_fw_struct() local
1873 for (pri = 0; pri < LLFC_DRIVER_TRAFFIC_TYPE_MAX; pri++) { in bnx2x_dcbx_fw_struct()
1874 tt2cos[pri].priority = ttp[pri]; in bnx2x_dcbx_fw_struct()
1875 pri_bit = 1 << tt2cos[pri].priority; in bnx2x_dcbx_fw_struct()
1882 tt2cos[pri].cos = cos; in bnx2x_dcbx_fw_struct()
1884 pfc_fw_cfg->dcb_outer_pri[pri] = ttp[pri]; in bnx2x_dcbx_fw_struct()