Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c394 if (params->log_rq_mtu_frames < in mlx5e_mpwqe_get_log_rq_size()
404 if (WARN_ON_ONCE(params->log_rq_mtu_frames > log_pkts_per_wqe + max_log_rq_size)) in mlx5e_mpwqe_get_log_rq_size()
407 return params->log_rq_mtu_frames - log_pkts_per_wqe; in mlx5e_mpwqe_get_log_rq_size()
567 if (params->log_rq_mtu_frames > max_mtu_pkts) { in mlx5e_mpwrq_validate_xsk()
569 1 << params->log_rq_mtu_frames, xsk->chunk_size); in mlx5e_mpwrq_validate_xsk()
579 params->log_rq_mtu_frames = is_kdump_kernel() ? in mlx5e_init_rq_type_params()
638 u16 bulk_bound_rq_size = (1 << params->log_rq_mtu_frames) / 4; in mlx5e_rx_compute_wqe_bulk_params()
862 log_cq_size = params->log_rq_mtu_frames; in mlx5e_build_rx_cq_param()
940 MLX5_SET(wq, wq, log_wq_sz, params->log_rq_mtu_frames); in mlx5e_build_rq_param()
H A Dparams.h161 BIT(params->log_rq_mtu_frames), in mlx5e_params_print_info()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib_vlan.c307 priv->channels.params.log_rq_mtu_frames = MLX5E_PARAMS_MINIMUM_LOG_RQ_SIZE; in mlx5i_pkey_init()
H A Dipoib.c67 params->log_rq_mtu_frames = is_kdump_kernel() ? in mlx5i_build_nic_params()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c345 param->rx_pending = 1 << priv->channels.params.log_rq_mtu_frames; in mlx5e_ethtool_get_ringparam()
390 if (log_rq_size == priv->channels.params.log_rq_mtu_frames && in mlx5e_ethtool_set_ringparam()
397 new_params.log_rq_mtu_frames = log_rq_size; in mlx5e_ethtool_set_ringparam()
H A Den.h286 u8 log_rq_mtu_frames; member
H A Den_main.c837 pool_size = 1 << params->log_rq_mtu_frames; in mlx5e_alloc_rq()