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

/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c2076 * @tx_cr_shaper: TX committed rate shaping configuration
2085 const struct dpni_tx_shaping_cfg *tx_cr_shaper,
2097 cmd_params->tx_cr_max_burst_size = cpu_to_le16(tx_cr_shaper->max_burst_size);
2099 cmd_params->tx_cr_rate_limit = cpu_to_le32(tx_cr_shaper->rate_limit);
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) argument
H A Ddpni.h1070 const struct dpni_tx_shaping_cfg *tx_cr_shaper,
H A Ddpaa2-eth.c2970 struct dpni_tx_shaping_cfg tx_cr_shaper = { 0 }; local
2988 tx_cr_shaper.max_burst_size = cfg->max_size;
2992 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps);
2995 err = dpni_set_tx_shaping(priv->mc_io, 0, priv->mc_token, &tx_cr_shaper,

Completed in 149 milliseconds