Searched refs:MLX5_ADAPTER_PAGE_SHIFT (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | srq_cmd.c | 100 in->log_page_size = order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT; in __set_srq_page_size() 111 MLX5_ADAPTER_PAGE_SHIFT, page_offset, \ 145 1UL << (in->log_page_size + MLX5_ADAPTER_PAGE_SHIFT), in create_srq_cmd() 250 1UL << (in->log_page_size + MLX5_ADAPTER_PAGE_SHIFT), in create_xrc_srq_cmd() 368 1UL << (in->log_page_size + MLX5_ADAPTER_PAGE_SHIFT), in create_rmp_cmd() 507 1UL << (in->log_page_size + MLX5_ADAPTER_PAGE_SHIFT), in create_xrq_cmd()
|
D | cq.c | 754 cq->buf.umem, cqc, log_page_size, MLX5_ADAPTER_PAGE_SHIFT, in create_cq_user() 785 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in create_cq_user() 913 MLX5_ADAPTER_PAGE_SHIFT); in create_cq_kernel() 1304 MLX5_ADAPTER_PAGE_SHIFT, page_offset, 64, in mlx5_ib_resize_cq() 1349 page_shift - MLX5_ADAPTER_PAGE_SHIFT); in mlx5_ib_resize_cq()
|
D | srq.c | 153 in->log_page_size = srq->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT; in create_srq_kernel()
|
D | qp.c | 820 rwq->umem, wq, log_wq_pg_sz, MLX5_ADAPTER_PAGE_SHIFT, in create_user_rq() 830 rwq->log_page_size = rwq->page_shift - MLX5_ADAPTER_PAGE_SHIFT; in create_user_rq() 930 MLX5_ADAPTER_PAGE_SHIFT, page_offset, 64, in _create_user_qp() 956 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in _create_user_qp() 1084 MLX5_SET(qpc, qpc, log_page_size, qp->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in _create_kernel_qp() 1279 ubuffer->umem, wq, log_wq_pg_sz, MLX5_ADAPTER_PAGE_SHIFT, in create_raw_packet_qp_sq() 1318 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in create_raw_packet_qp_sq() 1370 MLX5_ADAPTER_PAGE_SHIFT, in create_raw_packet_qp_rq() 1405 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in create_raw_packet_qp_rq()
|
D | devx.c | 2209 MLX5_ADAPTER_PAGE_SHIFT); in devx_umem_find_best_pgsize() 2258 min(PAGE_SHIFT, MLX5_ADAPTER_PAGE_SHIFT))); in devx_umem_reg_cmd_alloc() 2280 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in devx_umem_reg_cmd_alloc()
|
D | mlx5_ib.h | 56 pgsz_shift = max_t(unsigned int, MLX5_ADAPTER_PAGE_SHIFT, pgsz_shift); in __mlx5_log_page_size_to_bitmap()
|
D | main.c | 1782 MLX5_ADAPTER_PAGE_SHIFT : PAGE_SHIFT; in set_ucontext_resp()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | uar.c | 75 system_page_index = index >> (PAGE_SHIFT - MLX5_ADAPTER_PAGE_SHIFT); in uar2pfn() 284 uar_idx = (bfreg->map - up->map) >> MLX5_ADAPTER_PAGE_SHIFT; in addr_to_dbi_in_syspage()
|
D | pagealloc.c | 257 n = (addr & ~MLX5_U64_4K_PAGE_MASK) >> MLX5_ADAPTER_PAGE_SHIFT; in free_4k()
|
D | eq.c | 321 eq->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_map_eq()
|
D | en_main.c | 943 MLX5_ADAPTER_PAGE_SHIFT); in mlx5e_create_rq() 1550 MLX5_ADAPTER_PAGE_SHIFT); in mlx5e_create_sq() 1965 MLX5_ADAPTER_PAGE_SHIFT); in mlx5e_create_cq()
|
D | cmd.c | 2198 if (cmd->log_sz + cmd->log_stride > MLX5_ADAPTER_PAGE_SHIFT) { in mlx5_cmd_init()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | aso.c | 105 MLX5_ADAPTER_PAGE_SHIFT); in create_aso_cq() 208 MLX5_ADAPTER_PAGE_SHIFT); in create_aso_sq()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 166 dr_qp->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in dr_create_rc_qp() 810 MLX5_ADAPTER_PAGE_SHIFT); in dr_create_cq()
|
/linux-6.1.9/include/linux/mlx5/ |
D | device.h | 245 MLX5_ADAPTER_PAGE_SHIFT = 12, enumerator 246 MLX5_ADAPTER_PAGE_SIZE = 1 << MLX5_ADAPTER_PAGE_SHIFT,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | conn.c | 459 MLX5_ADAPTER_PAGE_SHIFT); in mlx5_fpga_conn_create_cq() 564 conn->qp.wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in mlx5_fpga_conn_create_qp()
|
/linux-6.1.9/drivers/vfio/pci/mlx5/ |
D | cmd.c | 731 MLX5_ADAPTER_PAGE_SHIFT); in mlx5vf_create_cq() 804 qp->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in mlx5vf_create_rc_qp()
|
/linux-6.1.9/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 421 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare() 619 MLX5_SET(cqc, cqc, log_page_size, vcq->buf.frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in cq_create() 727 MLX5_SET(umem, um, log_page_size, umem->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_umem()
|