Home
last modified time | relevance | path

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

/linux-6.6.21/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.h1038 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder,
Den_main.c2035 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder, in mlx5e_open_cq() argument
2051 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c504 struct dim_cq_moder moder = {}; in mlx5e_get_def_tx_moderation() local
506 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation()
507 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation()
508 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation()
510 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation()
512 return moder; in mlx5e_get_def_tx_moderation()
517 struct dim_cq_moder moder = {}; in mlx5e_get_def_rx_moderation() local
519 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation()
520 moder.pkts = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_PKTS; in mlx5e_get_def_rx_moderation()
521 moder.usec = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_USEC; in mlx5e_get_def_rx_moderation()
[all …]
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1165 struct dim_cq_moder moder; in nfp_net_rx_dim_work() local
1170 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work()
1179 if (nfp_net_coalesce_para_check(factor * moder.usec, 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, moder.pkts)) in nfp_net_tx_dim_work()
1212 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_tx_dim_work()
/linux-6.6.21/include/linux/mlx5/
Dcq.h119 } moder; member
/linux-6.6.21/drivers/net/ethernet/broadcom/
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.6.21/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.6.21/drivers/net/ethernet/broadcom/genet/
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()
2610 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local
2618 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce()
2619 usecs = moder.usec; in bcmgenet_init_rx_coalesce()
2620 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc.c699 struct dim_cq_moder moder = in enetc_rx_dim_work() local
704 v->rx_ictt = enetc_usecs_to_cycles(moder.usec); in enetc_rx_dim_work()