Home
last modified time | relevance | path

Searched refs:log_sq_size (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c191 size_t sq_size = 1 << params->log_sq_size; in mlx5e_validate_params()
558 MLX5_SET(cqc, cqc, log_cq_size, params->log_sq_size); in mlx5e_build_tx_cq_param()
587 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_build_sq_param()
674 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_build_xdpsq_param()
Dptp.c453 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_ptp_build_sq_param()
486 params->log_sq_size = orig->log_sq_size; in mlx5e_ptp_build_params()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c315 param->tx_pending = 1 << priv->channels.params.log_sq_size; in mlx5e_ethtool_get_ringparam()
331 u8 log_sq_size; in mlx5e_ethtool_set_ringparam() local
360 log_sq_size = order_base_2(param->tx_pending); in mlx5e_ethtool_set_ringparam()
363 log_sq_size == priv->channels.params.log_sq_size) in mlx5e_ethtool_set_ringparam()
370 new_params.log_sq_size = log_sq_size; in mlx5e_ethtool_set_ringparam()
Dwq.c106 u8 log_sq_sz = MLX5_GET(qpc, qpc, log_sq_size); in mlx5_wq_qp_create()
Ddebugfs.c268 param = 1 << MLX5_GET(qpc, qpc, log_sq_size); in qp_read_field()
Den_rep.c612 params->log_sq_size = MLX5E_PARAMS_DEFAULT_LOG_SQ_SIZE; in mlx5e_build_rep_params()
614 params->log_sq_size = MLX5E_REP_PARAMS_DEF_LOG_SQ_SIZE; in mlx5e_build_rep_params()
Den.h259 u8 log_sq_size; member
Den_main.c4310 params->log_sq_size = is_kdump_kernel() ? in mlx5e_build_nic_params()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c133 MLX5_SET(qpc, temp_qpc, log_sq_size, ilog2(dr_qp->sq.wqe_cnt)); in dr_create_rc_qp()
174 MLX5_SET(qpc, qpc, log_sq_size, ilog2(dr_qp->sq.wqe_cnt)); in dr_create_rc_qp()
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c531 MLX5_SET(qpc, temp_qpc, log_sq_size, ilog2(conn->qp.sq.size)); in mlx5_fpga_conn_create_qp()
573 MLX5_SET(qpc, qpc, log_sq_size, ilog2(conn->qp.sq.size)); in mlx5_fpga_conn_create_qp()
/drivers/infiniband/hw/mlx5/
Dqp.c1314 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq()
2074 MLX5_SET(qpc, qpc, log_sq_size, ilog2(qp->sq.wqe_cnt)); in create_dci()
2258 MLX5_SET(qpc, qpc, log_sq_size, ilog2(qp->sq.wqe_cnt)); in create_user_qp()
2413 MLX5_SET(qpc, qpc, log_sq_size, ilog2(qp->sq.wqe_cnt)); in create_kernel_qp()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2720 int log_sq_size = (qpc->sq_size_stride >> 3) & 0xf; in qp_get_mtt_size() local
2735 sq_size = 1 << (log_sq_size + log_sq_sride + 4); in qp_get_mtt_size()