Searched refs:tc_maxrate (Results 1 – 6 of 6) sorted by relevance
141 if (dcb->tc_maxrate != max_rate_array) in nfp_fill_maxrate()142 dcb->tc_maxrate[i] = max_rate_array[i]; in nfp_fill_maxrate()156 err = nfp_fill_maxrate(nn, dcb->tc_maxrate); in update_dscp_maxrate()322 maxrate->tc_maxrate[i] = dcb->tc_maxrate[i]; in nfp_nic_dcbnl_ieee_getmaxrate()337 err = nfp_fill_maxrate(nn, maxrate->tc_maxrate); in nfp_nic_dcbnl_ieee_setmaxrate()371 err = nfp_fill_maxrate(nn, dcb->tc_maxrate); in nfp_nic_set_trust_status()551 dcb->tc_maxrate[i] = 0; in nfp_nic_dcb_init()
20 u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; member
562 memset(maxrate->tc_maxrate, 0, sizeof(maxrate->tc_maxrate)); in mlx5e_dcbnl_ieee_getmaxrate()567 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_100MB; in mlx5e_dcbnl_ieee_getmaxrate()570 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_1GB; in mlx5e_dcbnl_ieee_getmaxrate()597 if (!maxrate->tc_maxrate[i]) { in mlx5e_dcbnl_ieee_setmaxrate()601 if (maxrate->tc_maxrate[i] < upper_limit_mbps) { in mlx5e_dcbnl_ieee_setmaxrate()602 max_bw_value[i] = div_u64(maxrate->tc_maxrate[i], in mlx5e_dcbnl_ieee_setmaxrate()607 max_bw_value[i] = div_u64(maxrate->tc_maxrate[i], in mlx5e_dcbnl_ieee_setmaxrate()
457 maxrate->tc_maxrate[i], 0); in mlxsw_sp_dcbnl_ieee_setmaxrate()473 my_maxrate->tc_maxrate[i], 0); in mlxsw_sp_dcbnl_ieee_setmaxrate()682 mlxsw_sp_port->dcb.maxrate->tc_maxrate[i] = MLXSW_REG_QEEC_MAS_DIS; in mlxsw_sp_port_maxrate_init()
79 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; member
507 maxrate->tc_maxrate[i] = in mlx4_en_dcbnl_ieee_getmaxrate()524 tmp[i] = div_u64(maxrate->tc_maxrate[i] + in mlx4_en_dcbnl_ieee_setmaxrate()