Home
last modified time | relevance | path

Searched refs:bs512 (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_policer.c64 u64 bs512 = div_u64(burst_bytes, 64); in mlxsw_sp_policer_burst_bytes_hw_units() local
66 if (!bs512) in mlxsw_sp_policer_burst_bytes_hw_units()
69 return fls64(bs512) - 1; in mlxsw_sp_policer_burst_bytes_hw_units()
Dspectrum_qdisc.c955 u32 bs512 = max_size / 64; in mlxsw_sp_qdisc_tbf_bs() local
956 u8 bs = fls(bs512); in mlxsw_sp_qdisc_tbf_bs()
963 if ((1 << bs) != bs512) in mlxsw_sp_qdisc_tbf_bs()