Lines Matching refs:cos_params
60 if (bp->dcbx_port_params.ets.cos_params[0].pauseable) in bnx2x_pfc_set()
62 bp->dcbx_port_params.ets.cos_params[0].pri_bitmask; in bnx2x_pfc_set()
63 if (bp->dcbx_port_params.ets.cos_params[1].pauseable) in bnx2x_pfc_set()
65 bp->dcbx_port_params.ets.cos_params[1].pri_bitmask; in bnx2x_pfc_set()
245 struct bnx2x_dcbx_cos_params *cos_params = in bnx2x_dcbx_get_ets_feature() local
246 bp->dcbx_port_params.ets.cos_params; in bnx2x_dcbx_get_ets_feature()
258 cos_params[i].pauseable = false; in bnx2x_dcbx_get_ets_feature()
259 cos_params[i].strict = BNX2X_DCBX_COS_NOT_STRICT; in bnx2x_dcbx_get_ets_feature()
260 cos_params[i].bw_tbl = DCBX_INVALID_COS_BW; in bnx2x_dcbx_get_ets_feature()
261 cos_params[i].pri_bitmask = DCBX_PFC_PRI_GET_NON_PAUSE(bp, 0); in bnx2x_dcbx_get_ets_feature()
443 if (((BNX2X_DCBX_COS_NOT_STRICT == ets->cos_params[0].strict) && in bnx2x_dcbx_update_ets_params()
444 (DCBX_INVALID_COS_BW == ets->cos_params[0].bw_tbl)) || in bnx2x_dcbx_update_ets_params()
445 ((BNX2X_DCBX_COS_NOT_STRICT == ets->cos_params[1].strict) && in bnx2x_dcbx_update_ets_params()
446 (DCBX_INVALID_COS_BW == ets->cos_params[1].bw_tbl))) { in bnx2x_dcbx_update_ets_params()
452 ets->cos_params[0].strict, in bnx2x_dcbx_update_ets_params()
453 ets->cos_params[0].bw_tbl, in bnx2x_dcbx_update_ets_params()
454 ets->cos_params[1].strict, in bnx2x_dcbx_update_ets_params()
455 ets->cos_params[1].bw_tbl); in bnx2x_dcbx_update_ets_params()
459 if ((DCBX_INVALID_COS_BW != ets->cos_params[0].bw_tbl) && in bnx2x_dcbx_update_ets_params()
460 (DCBX_INVALID_COS_BW != ets->cos_params[1].bw_tbl)) { in bnx2x_dcbx_update_ets_params()
461 u32 bw_tbl_0 = ets->cos_params[0].bw_tbl; in bnx2x_dcbx_update_ets_params()
462 u32 bw_tbl_1 = ets->cos_params[1].bw_tbl; in bnx2x_dcbx_update_ets_params()
477 if (ets->cos_params[0].strict == BNX2X_DCBX_COS_HIGH_STRICT) in bnx2x_dcbx_update_ets_params()
479 else if (ets->cos_params[1].strict in bnx2x_dcbx_update_ets_params()
985 bp->dcbx_port_params.ets.cos_params[cos].pri_bitmask); in bnx2x_dcbx_print_cos_params()
989 bp->dcbx_port_params.ets.cos_params[cos].bw_tbl); in bnx2x_dcbx_print_cos_params()
993 bp->dcbx_port_params.ets.cos_params[cos].strict); in bnx2x_dcbx_print_cos_params()
997 bp->dcbx_port_params.ets.cos_params[cos].pauseable); in bnx2x_dcbx_print_cos_params()
1504 &bp->dcbx_port_params.ets.cos_params[i]; in bnx2x_dcbx_fill_cos_params()
1580 if (bp->dcbx_port_params.ets.cos_params[cos]. in bnx2x_pfc_fw_struct_e2()