Home
last modified time | relevance | path

Searched refs:log_cq_size (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c836 u8 log_cq_size; in mlx5e_build_rx_cq_param() local
842 log_cq_size = mlx5e_shampo_get_log_cq_size(mdev, params, xsk); in mlx5e_build_rx_cq_param()
844 log_cq_size = mlx5e_mpwqe_get_log_rq_size(mdev, params, xsk) + in mlx5e_build_rx_cq_param()
848 log_cq_size = params->log_rq_mtu_frames; in mlx5e_build_rx_cq_param()
851 MLX5_SET(cqc, cqc, log_cq_size, log_cq_size); in mlx5e_build_rx_cq_param()
967 MLX5_SET(cqc, cqc, log_cq_size, params->log_sq_size); in mlx5e_build_tx_cq_param()
1009 MLX5_SET(cqc, cqc, log_cq_size, log_wq_size); in mlx5e_build_ico_cq_param()
/linux-6.1.9/include/linux/mlx5/
Dcq.h115 u8 log_cq_size; member
Dmlx5_ifc.h4243 u8 log_cq_size[0x5]; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.c165 u8 log_wq_sz = MLX5_GET(cqc, cqc, log_cq_size); in mlx5_cqwq_create()
Ddebugfs.c406 param = 1 << MLX5_GET(cqc, ctx, log_cq_size); in cq_read_field()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c131 MLX5_SET(cqc, cqc_data, log_cq_size, 1); in mlx5_aso_create_cq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcmd.h1154 MLXSW_ITEM32(cmd_mbox, sw2hw_cq, log_cq_size, 0x00, 0, 4);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c777 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
806 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c425 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(cq_size)); in mlx5_fpga_conn_create_cq()
455 MLX5_SET(cqc, cqc, log_cq_size, ilog2(cq_size)); in mlx5_fpga_conn_create_cq()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcq.c1004 MLX5_SET(cqc, cqc, log_cq_size, ilog2(entries)); in mlx5_ib_create_cq()
1355 MLX5_SET(cqc, cqc, log_cq_size, ilog2(entries)); in mlx5_ib_resize_cq()
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dcmd.c727 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in mlx5vf_create_cq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c3084 int log_cq_size = (be32_to_cpu(cqc->logsize_usrpage) >> 24) & 0x1f; in cq_get_mtt_size() local
3087 if (log_cq_size + 5 < page_shift) in cq_get_mtt_size()
3090 return 1 << (log_cq_size + 5 - page_shift); in cq_get_mtt_size()
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c629 MLX5_SET(cqc, cqc, log_cq_size, ilog2(num_ent)); in cq_create()