Searched refs:tx_cr_shaper (Results 1 – 3 of 3) sorted by relevance
2081 const struct dpni_tx_shaping_cfg *tx_cr_shaper, in dpni_set_tx_shaping() argument2093 cmd_params->tx_cr_max_burst_size = cpu_to_le16(tx_cr_shaper->max_burst_size); in dpni_set_tx_shaping()2095 cmd_params->tx_cr_rate_limit = cpu_to_le32(tx_cr_shaper->rate_limit); in dpni_set_tx_shaping()
1061 const struct dpni_tx_shaping_cfg *tx_cr_shaper,
2824 struct dpni_tx_shaping_cfg tx_cr_shaper = { 0 }; in dpaa2_eth_setup_tbf() local2842 tx_cr_shaper.max_burst_size = cfg->max_size; in dpaa2_eth_setup_tbf()2846 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps); in dpaa2_eth_setup_tbf()2849 err = dpni_set_tx_shaping(priv->mc_io, 0, priv->mc_token, &tx_cr_shaper, in dpaa2_eth_setup_tbf()