/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dim.c | 37 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()
|
H A D | en_main.c | 1667 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 [all...] |
H A D | en.h | 925 int mlx5e_open_cq(struct mlx5e_channel *c, struct dim_cq_moder moder,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dim.c | 37 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()
|
H A D | en.h | 1038 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder,
|
H A D | en_main.c | 2035 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 504 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 in mlx5e_get_def_rx_moderation() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 1165 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 in nfp_net_tx_dim_work() [all...] |
/kernel/linux/linux-5.10/include/linux/mlx5/ |
H A D | cq.h | 119 } moder; member
|
/kernel/linux/linux-6.6/include/linux/mlx5/ |
H A D | cq.h | 119 } moder; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 632 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-6.6/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 648 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()
|
/kernel/linux/linux-6.6/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 115 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 874 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() 2561 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local 2569 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce() 2570 usecs = moder.usec; in bcmgenet_init_rx_coalesce() 2571 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 858 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 292 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 699 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()
|