Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
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()
Den.h1062 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder,
Den_main.c1985 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder, in mlx5e_open_cq() argument
2001 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c477 struct dim_cq_moder moder = {}; in mlx5e_get_def_tx_moderation() local
479 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation()
480 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation()
481 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation()
483 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation()
485 return moder; in mlx5e_get_def_tx_moderation()
490 struct dim_cq_moder moder = {}; in mlx5e_get_def_rx_moderation() local
492 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation()
493 moder.pkts = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_PKTS; in mlx5e_get_def_rx_moderation()
494 moder.usec = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_USEC; in mlx5e_get_def_rx_moderation()
[all …]
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1118 struct dim_cq_moder moder; in nfp_net_rx_dim_work() local
1123 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work()
1132 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_rx_dim_work()
1136 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_rx_dim_work()
1147 struct dim_cq_moder moder; in nfp_net_tx_dim_work() local
1152 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
1161 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_tx_dim_work()
1165 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_tx_dim_work()
/linux-6.1.9/include/linux/mlx5/
Dcq.h119 } moder; member
/linux-6.1.9/drivers/net/ethernet/broadcom/
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-6.1.9/drivers/soc/fsl/dpio/
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-6.1.9/drivers/net/ethernet/broadcom/genet/
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()
2602 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local
2610 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce()
2611 usecs = moder.usec; in bcmgenet_init_rx_coalesce()
2612 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc.c679 struct dim_cq_moder moder = in enetc_rx_dim_work() local
684 v->rx_ictt = enetc_usecs_to_cycles(moder.usec); in enetc_rx_dim_work()