Searched refs:tc_maxrate (Results 1 – 4 of 4) sorted by relevance
560 memset(maxrate->tc_maxrate, 0, sizeof(maxrate->tc_maxrate)); in mlx5e_dcbnl_ieee_getmaxrate()565 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_100MB; in mlx5e_dcbnl_ieee_getmaxrate()568 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_1GB; in mlx5e_dcbnl_ieee_getmaxrate()595 if (!maxrate->tc_maxrate[i]) { in mlx5e_dcbnl_ieee_setmaxrate()599 if (maxrate->tc_maxrate[i] < upper_limit_mbps) { in mlx5e_dcbnl_ieee_setmaxrate()600 max_bw_value[i] = div_u64(maxrate->tc_maxrate[i], in mlx5e_dcbnl_ieee_setmaxrate()605 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()