Lines Matching refs:cos
196 #define BNX2X_VOQ_Q_REG_ADDR(cos, pf_q_num)\ argument
197 (QM_REG_VOQQMASK_0_LSB + 4 * ((cos) * 2 + ((pf_q_num) >> 5)))
266 traffic_cos[LLFC_TRAFFIC_TYPE_FCOE].cos); in bnx2x_dcb_config_qm()
268 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
270 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in bnx2x_dcb_config_qm()
274 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
276 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
278 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in bnx2x_dcb_config_qm()
428 u32 vnic, cos; in bnx2x_init_fw_wrr() local
433 for (cos = 0; cos < MAX_COS_NUMBER; cos++) in bnx2x_init_fw_wrr()
434 cosWeightSum += input_data->cos_min_rate[cos]; in bnx2x_init_fw_wrr()
443 for (cos = 0; cos < MAX_COS_NUMBER; cos++) { in bnx2x_init_fw_wrr()
448 ccd[cos] = in bnx2x_init_fw_wrr()
449 (u32)input_data->cos_min_rate[cos] * 100 * in bnx2x_init_fw_wrr()
451 if (ccd[cos] < pdata->fair_vars.fair_threshold in bnx2x_init_fw_wrr()
453 ccd[cos] = in bnx2x_init_fw_wrr()