Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_dim.c37 mlx5e_complete_dim_work(struct net_dim *dim, struct net_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.c1717 struct net_dim_cq_moder moder, in mlx5e_open_cq() argument
1733 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
4410 struct net_dim_cq_moder moder; in mlx5e_get_def_tx_moderation() local
4412 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation()
4413 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation()
4414 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation()
4416 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation()
4418 return moder; in mlx5e_get_def_tx_moderation()
4423 struct net_dim_cq_moder moder; in mlx5e_get_def_rx_moderation() local
4425 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation()
[all …]
/Linux-v4.19/include/linux/mlx5/
Dcq.h119 } moder; member
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbcmsysport.c629 struct net_dim_cq_moder moder; in bcm_sysport_set_coalesce() local
657 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce()
658 usecs = moder.usec; in bcm_sysport_set_coalesce()
659 pkts = moder.pkts; in bcm_sysport_set_coalesce()
1463 struct net_dim_cq_moder moder; in bcm_sysport_init_rx_coalesce() local
1471 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcm_sysport_init_rx_coalesce()
1472 usecs = moder.usec; in bcm_sysport_init_rx_coalesce()
1473 pkts = moder.pkts; in bcm_sysport_init_rx_coalesce()
/Linux-v4.19/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c646 struct net_dim_cq_moder moder; in bcmgenet_set_ring_rx_coalesce() local
655 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); in bcmgenet_set_ring_rx_coalesce()
656 usecs = moder.usec; in bcmgenet_set_ring_rx_coalesce()
657 pkts = moder.pkts; in bcmgenet_set_ring_rx_coalesce()
2097 struct net_dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local
2105 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce()
2106 usecs = moder.usec; in bcmgenet_init_rx_coalesce()
2107 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()