cq_period_mode 1054 drivers/net/ethernet/mellanox/mlx5/core/en.h u8 cq_period_mode); cq_period_mode 1056 drivers/net/ethernet/mellanox/mlx5/core/en.h u8 cq_period_mode); cq_period_mode 30 drivers/net/ethernet/mellanox/mlx5/core/en/params.h u8 cq_period_mode; cq_period_mode 1725 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c u8 cq_period_mode, current_cq_period_mode; cq_period_mode 1727 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c cq_period_mode = enable ? cq_period_mode 1731 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params.rx_cq_moderation.cq_period_mode : cq_period_mode 1732 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params.tx_cq_moderation.cq_period_mode; cq_period_mode 1733 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mode_changed = cq_period_mode != current_cq_period_mode; cq_period_mode 1735 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (cq_period_mode == MLX5_CQ_PERIOD_MODE_START_FROM_CQE && cq_period_mode 1744 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_set_rx_cq_mode_params(&new_channels.params, cq_period_mode); cq_period_mode 1746 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_set_tx_cq_mode_params(&new_channels.params, cq_period_mode); cq_period_mode 606 drivers/net/ethernet/mellanox/mlx5/core/en_main.c switch (params->rx_cq_moderation.cq_period_mode) { cq_period_mode 1179 drivers/net/ethernet/mellanox/mlx5/core/en_main.c sq->dim.mode = params->tx_cq_moderation.cq_period_mode; cq_period_mode 1627 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(cqc, cqc, cq_period_mode, param->cq_period_mode); cq_period_mode 2263 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->cq_period_mode = params->rx_cq_moderation.cq_period_mode; cq_period_mode 2275 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->cq_period_mode = params->tx_cq_moderation.cq_period_mode; cq_period_mode 2288 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->cq_period_mode = DIM_CQ_PERIOD_MODE_START_FROM_EQE; cq_period_mode 4685 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static struct dim_cq_moder mlx5e_get_def_tx_moderation(u8 cq_period_mode) cq_period_mode 4689 drivers/net/ethernet/mellanox/mlx5/core/en_main.c moder.cq_period_mode = cq_period_mode; cq_period_mode 4692 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (cq_period_mode == MLX5_CQ_PERIOD_MODE_START_FROM_CQE) cq_period_mode 4698 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static struct dim_cq_moder mlx5e_get_def_rx_moderation(u8 cq_period_mode) cq_period_mode 4702 drivers/net/ethernet/mellanox/mlx5/core/en_main.c moder.cq_period_mode = cq_period_mode; cq_period_mode 4705 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (cq_period_mode == MLX5_CQ_PERIOD_MODE_START_FROM_CQE) cq_period_mode 4711 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static u8 mlx5_to_net_dim_cq_period_mode(u8 cq_period_mode) cq_period_mode 4713 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return cq_period_mode == MLX5_CQ_PERIOD_MODE_START_FROM_CQE ? cq_period_mode 4718 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void mlx5e_set_tx_cq_mode_params(struct mlx5e_params *params, u8 cq_period_mode) cq_period_mode 4721 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u8 dim_period_mode = mlx5_to_net_dim_cq_period_mode(cq_period_mode); cq_period_mode 4725 drivers/net/ethernet/mellanox/mlx5/core/en_main.c params->tx_cq_moderation = mlx5e_get_def_tx_moderation(cq_period_mode); cq_period_mode 4729 drivers/net/ethernet/mellanox/mlx5/core/en_main.c params->tx_cq_moderation.cq_period_mode == cq_period_mode 4733 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void mlx5e_set_rx_cq_mode_params(struct mlx5e_params *params, u8 cq_period_mode) cq_period_mode 4736 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u8 dim_period_mode = mlx5_to_net_dim_cq_period_mode(cq_period_mode); cq_period_mode 4740 drivers/net/ethernet/mellanox/mlx5/core/en_main.c params->rx_cq_moderation = mlx5e_get_def_rx_moderation(cq_period_mode); cq_period_mode 4744 drivers/net/ethernet/mellanox/mlx5/core/en_main.c params->rx_cq_moderation.cq_period_mode == cq_period_mode 1414 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c u8 cq_period_mode = MLX5_CAP_GEN(mdev, cq_period_start_from_cqe) ? cq_period_mode 1433 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mlx5e_set_rx_cq_mode_params(params, cq_period_mode); cq_period_mode 41 include/linux/dim.h u8 cq_period_mode; cq_period_mode 280 include/linux/dim.h struct dim_cq_moder net_dim_get_rx_moderation(u8 cq_period_mode, int ix); cq_period_mode 286 include/linux/dim.h struct dim_cq_moder net_dim_get_def_rx_moderation(u8 cq_period_mode); cq_period_mode 293 include/linux/dim.h struct dim_cq_moder net_dim_get_tx_moderation(u8 cq_period_mode, int ix); cq_period_mode 299 include/linux/dim.h struct dim_cq_moder net_dim_get_def_tx_moderation(u8 cq_period_mode); cq_period_mode 3531 include/linux/mlx5/mlx5_ifc.h u8 cq_period_mode[0x2]; cq_period_mode 65 lib/dim/net_dim.c net_dim_get_rx_moderation(u8 cq_period_mode, int ix) cq_period_mode 67 lib/dim/net_dim.c struct dim_cq_moder cq_moder = rx_profile[cq_period_mode][ix]; cq_period_mode 69 lib/dim/net_dim.c cq_moder.cq_period_mode = cq_period_mode; cq_period_mode 75 lib/dim/net_dim.c net_dim_get_def_rx_moderation(u8 cq_period_mode) cq_period_mode 77 lib/dim/net_dim.c u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? cq_period_mode 80 lib/dim/net_dim.c return net_dim_get_rx_moderation(cq_period_mode, profile_ix); cq_period_mode 85 lib/dim/net_dim.c net_dim_get_tx_moderation(u8 cq_period_mode, int ix) cq_period_mode 87 lib/dim/net_dim.c struct dim_cq_moder cq_moder = tx_profile[cq_period_mode][ix]; cq_period_mode 89 lib/dim/net_dim.c cq_moder.cq_period_mode = cq_period_mode; cq_period_mode 95 lib/dim/net_dim.c net_dim_get_def_tx_moderation(u8 cq_period_mode) cq_period_mode 97 lib/dim/net_dim.c u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? cq_period_mode 100 lib/dim/net_dim.c return net_dim_get_tx_moderation(cq_period_mode, profile_ix);