Home
last modified time | relevance | path

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

/Linux-v5.4/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.c1631 int mlx5e_open_cq(struct mlx5e_channel *c, struct dim_cq_moder moder, in mlx5e_open_cq() argument
1646 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
4665 struct dim_cq_moder moder; in mlx5e_get_def_tx_moderation() local
4667 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation()
4668 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation()
4669 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation()
4671 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation()
4673 return moder; in mlx5e_get_def_tx_moderation()
4678 struct dim_cq_moder moder; in mlx5e_get_def_rx_moderation() local
4680 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation()
[all …]
Den.h1026 int mlx5e_open_cq(struct mlx5e_channel *c, struct dim_cq_moder moder,
/Linux-v5.4/include/linux/mlx5/
Dcq.h120 } moder; member
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c612 struct dim_cq_moder moder; in bcm_sysport_set_coalesce() local
640 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce()
641 usecs = moder.usec; in bcm_sysport_set_coalesce()
642 pkts = moder.pkts; in bcm_sysport_set_coalesce()
1448 struct dim_cq_moder moder; in bcm_sysport_init_rx_coalesce() local
1456 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcm_sysport_init_rx_coalesce()
1457 usecs = moder.usec; in bcm_sysport_init_rx_coalesce()
1458 pkts = moder.pkts; in bcm_sysport_init_rx_coalesce()
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c643 struct dim_cq_moder moder; in bcmgenet_set_ring_rx_coalesce() local
652 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); in bcmgenet_set_ring_rx_coalesce()
653 usecs = moder.usec; in bcmgenet_set_ring_rx_coalesce()
654 pkts = moder.pkts; in bcmgenet_set_ring_rx_coalesce()
2095 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local
2103 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce()
2104 usecs = moder.usec; in bcmgenet_init_rx_coalesce()
2105 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()