Home
last modified time | relevance | path

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

/linux-6.3-rc2/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.h1072 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder,
A Den_main.c1992 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder, in mlx5e_open_cq() argument
2008 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dparams.c482 struct dim_cq_moder moder = {}; in mlx5e_get_def_tx_moderation() local
484 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation()
485 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation()
486 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation()
488 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation()
490 return moder; in mlx5e_get_def_tx_moderation()
495 struct dim_cq_moder moder = {}; in mlx5e_get_def_rx_moderation() local
497 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation()
498 moder.pkts = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_PKTS; in mlx5e_get_def_rx_moderation()
499 moder.usec = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_USEC; in mlx5e_get_def_rx_moderation()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_common.c1120 struct dim_cq_moder moder; in nfp_net_rx_dim_work() local
1125 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work()
1134 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_rx_dim_work()
1138 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_rx_dim_work()
1149 struct dim_cq_moder moder; in nfp_net_tx_dim_work() local
1154 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
1163 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_tx_dim_work()
1167 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_tx_dim_work()
/linux-6.3-rc2/include/linux/mlx5/
A Dcq.h119 } moder; member
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dbcmsysport.c648 struct dim_cq_moder moder; in bcm_sysport_set_coalesce() local
675 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce()
676 usecs = moder.usec; in bcm_sysport_set_coalesce()
677 pkts = moder.pkts; in bcm_sysport_set_coalesce()
1496 struct dim_cq_moder moder; in bcm_sysport_init_rx_coalesce() local
1504 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcm_sysport_init_rx_coalesce()
1505 usecs = moder.usec; in bcm_sysport_init_rx_coalesce()
1506 pkts = moder.pkts; in bcm_sysport_init_rx_coalesce()
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c858 struct dim_cq_moder moder; in bcmgenet_set_ring_rx_coalesce() local
867 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); in bcmgenet_set_ring_rx_coalesce()
868 usecs = moder.usec; in bcmgenet_set_ring_rx_coalesce()
869 pkts = moder.pkts; in bcmgenet_set_ring_rx_coalesce()
2615 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local
2623 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce()
2624 usecs = moder.usec; in bcmgenet_init_rx_coalesce()
2625 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc.c692 struct dim_cq_moder moder = in enetc_rx_dim_work() local
697 v->rx_ictt = enetc_usecs_to_cycles(moder.usec); in enetc_rx_dim_work()

Completed in 58 milliseconds