Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_dim.c37 mlx5e_complete_dim_work(struct dim *dim, struct dim_cq_moder moder, in mlx5e_complete_dim_work() argument
40 mlx5_core_modify_cq_moderation(mdev, mcq, moder.usec, moder.pkts); in mlx5e_complete_dim_work()
A Den.h1032 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder,
A Den_main.c1831 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder, in mlx5e_open_cq() argument
1847 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dparams.c227 struct dim_cq_moder moder = {}; in mlx5e_get_def_tx_moderation() local
229 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation()
230 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation()
231 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation()
233 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation()
235 return moder; in mlx5e_get_def_tx_moderation()
240 struct dim_cq_moder moder = {}; in mlx5e_get_def_rx_moderation() local
242 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation()
243 moder.pkts = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_PKTS; in mlx5e_get_def_rx_moderation()
244 moder.usec = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_USEC; in mlx5e_get_def_rx_moderation()
[all …]
/linux/include/linux/mlx5/
A Dcq.h119 } moder; member
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_common.c3000 struct dim_cq_moder moder; in nfp_net_rx_dim_work() local
3005 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work()
3014 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_rx_dim_work()
3018 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_rx_dim_work()
3029 struct dim_cq_moder moder; in nfp_net_tx_dim_work() local
3034 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
3043 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_tx_dim_work()
3047 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_tx_dim_work()
/linux/drivers/net/ethernet/broadcom/
A Dbcmsysport.c637 struct dim_cq_moder moder; in bcm_sysport_set_coalesce() local
664 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce()
665 usecs = moder.usec; in bcm_sysport_set_coalesce()
666 pkts = moder.pkts; in bcm_sysport_set_coalesce()
1485 struct dim_cq_moder moder; in bcm_sysport_init_rx_coalesce() local
1493 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcm_sysport_init_rx_coalesce()
1494 usecs = moder.usec; in bcm_sysport_init_rx_coalesce()
1495 pkts = moder.pkts; in bcm_sysport_init_rx_coalesce()
/linux/drivers/soc/fsl/dpio/
A Ddpio-service.c115 struct dim_cq_moder moder = in dpaa2_io_dim_work() local
119 dpaa2_io_set_irq_coalescing(d, moder.usec); in dpaa2_io_dim_work()
/linux/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c876 struct dim_cq_moder moder; in bcmgenet_set_ring_rx_coalesce() local
885 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); in bcmgenet_set_ring_rx_coalesce()
886 usecs = moder.usec; in bcmgenet_set_ring_rx_coalesce()
887 pkts = moder.pkts; in bcmgenet_set_ring_rx_coalesce()
2593 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local
2601 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce()
2602 usecs = moder.usec; in bcmgenet_init_rx_coalesce()
2603 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc.c678 struct dim_cq_moder moder = in enetc_rx_dim_work() local
683 v->rx_ictt = enetc_usecs_to_cycles(moder.usec); in enetc_rx_dim_work()

Completed in 49 milliseconds