• Home
  • Raw
  • Download

Lines Matching refs:cos_params

88 			bp->dcbx_port_params.ets.cos_params[i].pri_bitmask  in bnx2x_pfc_set()
280 struct bnx2x_dcbx_cos_params *cos_params = in bnx2x_dcbx_get_ets_feature() local
281 bp->dcbx_port_params.ets.cos_params; in bnx2x_dcbx_get_ets_feature()
292 for (i = 0; i < ARRAY_SIZE(bp->dcbx_port_params.ets.cos_params) ; i++) { in bnx2x_dcbx_get_ets_feature()
293 cos_params[i].pauseable = false; in bnx2x_dcbx_get_ets_feature()
294 cos_params[i].strict = BNX2X_DCBX_STRICT_INVALID; in bnx2x_dcbx_get_ets_feature()
295 cos_params[i].bw_tbl = DCBX_INVALID_COS_BW; in bnx2x_dcbx_get_ets_feature()
296 cos_params[i].pri_bitmask = 0; in bnx2x_dcbx_get_ets_feature()
354 struct bnx2x_dcbx_cos_params *cos_params = in bnx2x_dcbx_map_nw() local
355 bp->dcbx_port_params.ets.cos_params; in bnx2x_dcbx_map_nw()
362 for (i = 0; i < ARRAY_SIZE(bp->dcbx_port_params.ets.cos_params); i++) { in bnx2x_dcbx_map_nw()
363 if (cos_params[i].pri_bitmask & nw_prio) { in bnx2x_dcbx_map_nw()
367 cos_params[i].pri_bitmask |= unmapped; in bnx2x_dcbx_map_nw()
520 if (((BNX2X_DCBX_STRICT_INVALID == ets->cos_params[0].strict) && in bnx2x_dcbx_2cos_limit_update_ets_config()
521 (DCBX_INVALID_COS_BW == ets->cos_params[0].bw_tbl)) || in bnx2x_dcbx_2cos_limit_update_ets_config()
522 ((BNX2X_DCBX_STRICT_INVALID == ets->cos_params[1].strict) && in bnx2x_dcbx_2cos_limit_update_ets_config()
523 (DCBX_INVALID_COS_BW == ets->cos_params[1].bw_tbl))) { in bnx2x_dcbx_2cos_limit_update_ets_config()
529 ets->cos_params[0].strict, in bnx2x_dcbx_2cos_limit_update_ets_config()
530 ets->cos_params[0].bw_tbl, in bnx2x_dcbx_2cos_limit_update_ets_config()
531 ets->cos_params[1].strict, in bnx2x_dcbx_2cos_limit_update_ets_config()
532 ets->cos_params[1].bw_tbl); in bnx2x_dcbx_2cos_limit_update_ets_config()
536 if ((DCBX_INVALID_COS_BW != ets->cos_params[0].bw_tbl) && in bnx2x_dcbx_2cos_limit_update_ets_config()
537 (DCBX_INVALID_COS_BW != ets->cos_params[1].bw_tbl)) { in bnx2x_dcbx_2cos_limit_update_ets_config()
538 u32 bw_tbl_0 = ets->cos_params[0].bw_tbl; in bnx2x_dcbx_2cos_limit_update_ets_config()
539 u32 bw_tbl_1 = ets->cos_params[1].bw_tbl; in bnx2x_dcbx_2cos_limit_update_ets_config()
554 if (ets->cos_params[0].strict == BNX2X_DCBX_STRICT_COS_HIGHEST) in bnx2x_dcbx_2cos_limit_update_ets_config()
556 else if (ets->cos_params[1].strict in bnx2x_dcbx_2cos_limit_update_ets_config()
577 if (ets->cos_params[i].strict != BNX2X_DCBX_STRICT_INVALID) { in bnx2x_dcbx_update_ets_config()
578 if (ets->cos_params[i].bw_tbl != DCBX_INVALID_COS_BW) { in bnx2x_dcbx_update_ets_config()
585 ets->cos_params[i].strict; in bnx2x_dcbx_update_ets_config()
587 if (ets->cos_params[i].bw_tbl == DCBX_INVALID_COS_BW) { in bnx2x_dcbx_update_ets_config()
593 (u8)ets->cos_params[i].bw_tbl; in bnx2x_dcbx_update_ets_config()
731 if (bp->dcbx_port_params.ets.cos_params[cos].pri_bitmask in bnx2x_dcbx_update_tc_mapping()
1089 cos, bp->dcbx_port_params.ets.cos_params[cos].pri_bitmask); in bnx2x_dcbx_print_cos_params()
1093 cos, bp->dcbx_port_params.ets.cos_params[cos].bw_tbl); in bnx2x_dcbx_print_cos_params()
1097 cos, bp->dcbx_port_params.ets.cos_params[cos].strict); in bnx2x_dcbx_print_cos_params()
1101 cos, bp->dcbx_port_params.ets.cos_params[cos].pauseable); in bnx2x_dcbx_print_cos_params()
1793 &bp->dcbx_port_params.ets.cos_params[i]; in bnx2x_dcbx_fill_cos_params()
1880 if (bp->dcbx_port_params.ets.cos_params[cos]. in bnx2x_dcbx_fw_struct()