Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nic/
Ddcb.c141 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()
Dmain.h20 u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c562 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()
/linux-6.12.1/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.12.1/include/uapi/linux/
Ddcbnl.h79 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS]; member
/linux-6.12.1/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()