Searched refs:moder (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_dim.c | 37 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 D | en_ethtool.c | 698 mlx5e_set_priv_channels_tx_coalesce(struct mlx5e_priv *priv, struct dim_cq_moder *moder) in mlx5e_set_priv_channels_tx_coalesce() argument 708 mode = mlx5e_cq_period_mode(moder->cq_period_mode); in mlx5e_set_priv_channels_tx_coalesce() 709 c->tx_cq_moder = *moder; in mlx5e_set_priv_channels_tx_coalesce() 713 moder->usec, moder->pkts, in mlx5e_set_priv_channels_tx_coalesce() 720 mlx5e_set_priv_channels_rx_coalesce(struct mlx5e_priv *priv, struct dim_cq_moder *moder) in mlx5e_set_priv_channels_rx_coalesce() argument 729 mode = mlx5e_cq_period_mode(moder->cq_period_mode); in mlx5e_set_priv_channels_rx_coalesce() 730 c->rx_cq_moder = *moder; in mlx5e_set_priv_channels_rx_coalesce() 732 mlx5e_modify_cq_moderation(mdev, &c->rq.cq.mcq, moder->usec, moder->pkts, in mlx5e_set_priv_channels_rx_coalesce()
|
| H A D | en.h | 1079 int mlx5e_open_cq(struct mlx5_core_dev *mdev, struct dim_cq_moder moder,
|
| H A D | en_main.c | 2320 int mlx5e_open_cq(struct mlx5_core_dev *mdev, struct dim_cq_moder moder, in mlx5e_open_cq() argument 2336 mlx5e_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts, in mlx5e_open_cq() 2337 mlx5e_cq_period_mode(moder.cq_period_mode)); in mlx5e_open_cq()
|
| /linux/net/ethtool/ |
| H A D | coalesce.c | 216 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/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_common.c | 1164 struct dim_cq_moder moder; in nfp_net_rx_dim_work() local 1169 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work() 1178 if (nfp_net_coalesce_para_check(factor * moder.usec) || in nfp_net_rx_dim_work() 1179 nfp_net_coalesce_para_check(moder.pkts)) in nfp_net_rx_dim_work() 1183 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_rx_dim_work() 1194 struct dim_cq_moder moder; in nfp_net_tx_dim_work() local 1199 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work() 1208 if (nfp_net_coalesce_para_check(factor * moder.usec) || in nfp_net_tx_dim_work() 1209 nfp_net_coalesce_para_check(moder.pkts)) in nfp_net_tx_dim_work() 1213 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_tx_dim_work()
|
| /linux/include/linux/mlx5/ |
| H A D | cq.h | 119 } moder; member
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcmsysport.c | 614 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 D | enetc.c | 1101 struct dim_cq_moder moder = in enetc_rx_dim_work() local 1107 v->rx_ictt = enetc_usecs_to_cycles(moder.usec, priv->sysclk_freq); in enetc_rx_dim_work()
|