Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dim.c37 mlx5e_complete_dim_work(struct dim *dim, struct dim_cq_moder moder, in mlx5e_complete_dim_work() argument
40 mlx5e_modify_cq_moderation(mdev, mcq, moder.usec, moder.pkts, in mlx5e_complete_dim_work()
41 mlx5e_cq_period_mode(moder.cq_period_mode)); in mlx5e_complete_dim_work()
H A Den_ethtool.c650 mlx5e_set_priv_channels_tx_coalesce(struct mlx5e_priv *priv, struct dim_cq_moder *moder) in mlx5e_set_priv_channels_tx_coalesce() argument
660 mode = mlx5e_cq_period_mode(moder->cq_period_mode); in mlx5e_set_priv_channels_tx_coalesce()
661 c->tx_cq_moder = *moder; in mlx5e_set_priv_channels_tx_coalesce()
665 moder->usec, moder->pkts, in mlx5e_set_priv_channels_tx_coalesce()
672 mlx5e_set_priv_channels_rx_coalesce(struct mlx5e_priv *priv, struct dim_cq_moder *moder) in mlx5e_set_priv_channels_rx_coalesce() argument
681 mode = mlx5e_cq_period_mode(moder->cq_period_mode); in mlx5e_set_priv_channels_rx_coalesce()
682 c->rx_cq_moder = *moder; in mlx5e_set_priv_channels_rx_coalesce()
684 mlx5e_modify_cq_moderation(mdev, &c->rq.cq.mcq, moder->usec, moder->pkts, in mlx5e_set_priv_channels_rx_coalesce()
H A Den.h1054 int mlx5e_open_cq(struct mlx5_core_dev *mdev, struct dim_cq_moder moder,
H A Den_main.c2236 int mlx5e_open_cq(struct mlx5_core_dev *mdev, struct dim_cq_moder moder, in mlx5e_open_cq() argument
2252 mlx5e_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts, in mlx5e_open_cq()
2253 mlx5e_cq_period_mode(moder.cq_period_mode)); in mlx5e_open_cq()
/linux/net/ethtool/
H A Dcoalesce.c216 struct dim_irq_moder *moder; in coalesce_fill_reply() local
278 moder = req_base->dev->irq_moder; in coalesce_fill_reply()
280 if (moder->profile_flags & DIM_PROFILE_RX) { in coalesce_fill_reply()
282 rcu_dereference(moder->rx_profile), in coalesce_fill_reply()
283 moder->coal_flags); in coalesce_fill_reply()
288 if (moder->profile_flags & DIM_PROFILE_TX) in coalesce_fill_reply()
290 rcu_dereference(moder->tx_profile), in coalesce_fill_reply()
291 moder->coal_flags); in coalesce_fill_reply()
/linux/include/linux/mlx5/
H A Dcq.h120 } moder; member
/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c614 struct dim_cq_moder moder; in bcm_sysport_set_coalesce() local
641 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce()
642 usecs = moder.usec; in bcm_sysport_set_coalesce()
643 pkts = moder.pkts; in bcm_sysport_set_coalesce()
1463 struct dim_cq_moder moder; in bcm_sysport_init_rx_coalesce() local
1471 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcm_sysport_init_rx_coalesce()
1472 usecs = moder.usec; in bcm_sysport_init_rx_coalesce()
1473 pkts = moder.pkts; in bcm_sysport_init_rx_coalesce()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c1020 struct dim_cq_moder moder = in enetc_rx_dim_work() local
1026 v->rx_ictt = enetc_usecs_to_cycles(moder.usec, priv->sysclk_freq); in enetc_rx_dim_work()