Home
last modified time | relevance | path

Searched refs:tx_cr_shaper (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.h1083 const struct dpni_tx_shaping_cfg *tx_cr_shaper,
H A Ddpni.c1973 * @tx_cr_shaper: TX committed rate shaping configuration
1982 const struct dpni_tx_shaping_cfg *tx_cr_shaper, in dpni_set_tx_shaping()
1994 cmd_params->tx_cr_max_burst_size = cpu_to_le16(tx_cr_shaper->max_burst_size); in dpni_set_tx_shaping()
1996 cmd_params->tx_cr_rate_limit = cpu_to_le32(tx_cr_shaper->rate_limit); in dpni_set_tx_shaping()
1979 dpni_set_tx_shaping(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_tx_shaping_cfg *tx_cr_shaper, const struct dpni_tx_shaping_cfg *tx_er_shaper, int coupled) dpni_set_tx_shaping() argument
H A Ddpaa2-eth.c2457 struct dpni_tx_shaping_cfg tx_cr_shaper = { 0 }; in dpaa2_eth_setup_tbf() local
2475 tx_cr_shaper.max_burst_size = cfg->max_size; in dpaa2_eth_setup_tbf()
2479 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps); in dpaa2_eth_setup_tbf()
2482 err = dpni_set_tx_shaping(priv->mc_io, 0, priv->mc_token, &tx_cr_shaper, in dpaa2_eth_setup_tbf()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.h1070 const struct dpni_tx_shaping_cfg *tx_cr_shaper,
H A Ddpni.c2076 * @tx_cr_shaper: TX committed rate shaping configuration
2085 const struct dpni_tx_shaping_cfg *tx_cr_shaper, in dpni_set_tx_shaping()
2097 cmd_params->tx_cr_max_burst_size = cpu_to_le16(tx_cr_shaper->max_burst_size); in dpni_set_tx_shaping()
2099 cmd_params->tx_cr_rate_limit = cpu_to_le32(tx_cr_shaper->rate_limit); in dpni_set_tx_shaping()
2082 dpni_set_tx_shaping(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_tx_shaping_cfg *tx_cr_shaper, const struct dpni_tx_shaping_cfg *tx_er_shaper, int coupled) dpni_set_tx_shaping() argument
H A Ddpaa2-eth.c2970 struct dpni_tx_shaping_cfg tx_cr_shaper = { 0 }; in dpaa2_eth_setup_tbf() local
2988 tx_cr_shaper.max_burst_size = cfg->max_size; in dpaa2_eth_setup_tbf()
2992 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps); in dpaa2_eth_setup_tbf()
2995 err = dpni_set_tx_shaping(priv->mc_io, 0, priv->mc_token, &tx_cr_shaper, in dpaa2_eth_setup_tbf()

Completed in 19 milliseconds