Lines Matching refs:prio_map
1173 u32 prio_map = 0, tmp_map = 0; in bnxt_re_get_priority_mask() local
1183 prio_map = tmp_map; in bnxt_re_get_priority_mask()
1188 prio_map |= tmp_map; in bnxt_re_get_priority_mask()
1190 return prio_map; in bnxt_re_get_priority_mask()
1193 static void bnxt_re_parse_cid_map(u8 prio_map, u8 *cid_map, u16 *cosq) in bnxt_re_parse_cid_map() argument
1199 if (prio_map & (1 << prio)) { in bnxt_re_parse_cid_map()
1210 u8 prio_map = 0; in bnxt_re_setup_qos() local
1215 prio_map = bnxt_re_get_priority_mask(rdev); in bnxt_re_setup_qos()
1217 if (prio_map == rdev->cur_prio_map) in bnxt_re_setup_qos()
1219 rdev->cur_prio_map = prio_map; in bnxt_re_setup_qos()
1223 dev_warn(rdev_to_dev(rdev), "no cos for p_mask %x\n", prio_map); in bnxt_re_setup_qos()
1227 bnxt_re_parse_cid_map(prio_map, (u8 *)&cid_map, rdev->cosq); in bnxt_re_setup_qos()
1240 if ((prio_map == 0 && rdev->qplib_res.prio) || in bnxt_re_setup_qos()
1241 (prio_map != 0 && !rdev->qplib_res.prio)) { in bnxt_re_setup_qos()
1242 rdev->qplib_res.prio = prio_map ? true : false; in bnxt_re_setup_qos()