Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c2968 #define bps_to_mbits(rate) (div_u64((rate), 1000000) * 8) macro
2996 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps); in dpaa2_eth_setup_tbf()