Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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_main.c1667 int mlx5e_open_cq(struct mlx5e_channel *c, struct dim_cq_moder moder, in mlx5e_open_cq() argument
1682 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
4750 struct dim_cq_moder moder; in mlx5e_get_def_tx_moderation() local
4752 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation()
4753 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation()
4754 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation()
4756 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation()
4758 return moder; in mlx5e_get_def_tx_moderation()
4763 struct dim_cq_moder moder; in mlx5e_get_def_rx_moderation() local
4765 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation()
[all …]
Den.h925 int mlx5e_open_cq(struct mlx5e_channel *c, struct dim_cq_moder moder,
/kernel/linux/linux-5.10/include/linux/mlx5/
Dcq.h119 } moder; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.c632 struct dim_cq_moder moder; in bcm_sysport_set_coalesce() local
659 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce()
660 usecs = moder.usec; in bcm_sysport_set_coalesce()
661 pkts = moder.pkts; in bcm_sysport_set_coalesce()
1480 struct dim_cq_moder moder; in bcm_sysport_init_rx_coalesce() local
1488 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcm_sysport_init_rx_coalesce()
1489 usecs = moder.usec; in bcm_sysport_init_rx_coalesce()
1490 pkts = moder.pkts; in bcm_sysport_init_rx_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c874 struct dim_cq_moder moder; in bcmgenet_set_ring_rx_coalesce() local
883 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); in bcmgenet_set_ring_rx_coalesce()
884 usecs = moder.usec; in bcmgenet_set_ring_rx_coalesce()
885 pkts = moder.pkts; in bcmgenet_set_ring_rx_coalesce()
2554 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local
2562 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce()
2563 usecs = moder.usec; in bcmgenet_init_rx_coalesce()
2564 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc.c292 struct dim_cq_moder moder = in enetc_rx_dim_work() local
297 v->rx_ictt = enetc_usecs_to_cycles(moder.usec); in enetc_rx_dim_work()