Home
last modified time | relevance | path

Searched refs:tc_maxrate (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c560 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dcb.c457 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()
/linux-6.1.9/include/uapi/linux/
Ddcbnl.h79 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c507 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()