/linux/drivers/infiniband/hw/mlx5/ |
H A 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()
|
H A D | cq.c | 761 cq->buf.umem, cqc, log_page_size, MLX5_ADAPTER_PAGE_SHIFT, in create_cq_user() 792 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in create_cq_user() 924 MLX5_ADAPTER_PAGE_SHIFT); in create_cq_kernel() 1316 MLX5_ADAPTER_PAGE_SHIFT, page_offset, 64, in mlx5_ib_resize_cq() 1361 page_shift - MLX5_ADAPTER_PAGE_SHIFT); in mlx5_ib_resize_cq()
|
H A D | srq.c | 153 in->log_page_size = srq->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT; in create_srq_kernel()
|
H A D | qp.c | 901 rwq->umem, wq, log_wq_pg_sz, MLX5_ADAPTER_PAGE_SHIFT, in create_user_rq() 911 rwq->log_page_size = rwq->page_shift - MLX5_ADAPTER_PAGE_SHIFT; in create_user_rq() 1011 MLX5_ADAPTER_PAGE_SHIFT, page_offset, 64, in _create_user_qp() 1037 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in _create_user_qp() 1163 MLX5_SET(qpc, qpc, log_page_size, qp->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in _create_kernel_qp() 1361 ubuffer->umem, wq, log_wq_pg_sz, MLX5_ADAPTER_PAGE_SHIFT, in create_raw_packet_qp_sq() 1400 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in create_raw_packet_qp_sq() 1452 MLX5_ADAPTER_PAGE_SHIFT, in create_raw_packet_qp_rq() 1487 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in create_raw_packet_qp_rq()
|
H A D | devx.c | 2228 MLX5_ADAPTER_PAGE_SHIFT); in devx_umem_find_best_pgsize() 2277 min(PAGE_SHIFT, MLX5_ADAPTER_PAGE_SHIFT))); in devx_umem_reg_cmd_alloc() 2299 order_base_2(page_size) - MLX5_ADAPTER_PAGE_SHIFT); in devx_umem_reg_cmd_alloc()
|
H A D | mlx5_ib.h | 62 pgsz_shift = max_t(unsigned int, MLX5_ADAPTER_PAGE_SHIFT, pgsz_shift); in __mlx5_log_page_size_to_bitmap()
|
H A D | main.c | 1873 MLX5_ADAPTER_PAGE_SHIFT : PAGE_SHIFT; in set_ucontext_resp()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | uar.c | 74 system_page_index = index >> (PAGE_SHIFT - MLX5_ADAPTER_PAGE_SHIFT); in uar2pfn() 283 uar_idx = (bfreg->map - up->map) >> MLX5_ADAPTER_PAGE_SHIFT; in addr_to_dbi_in_syspage()
|
H A D | wc.c | 99 MLX5_ADAPTER_PAGE_SHIFT); in create_wc_cq() 181 MLX5_ADAPTER_PAGE_SHIFT); in create_wc_sq()
|
H A D | pagealloc.c | 282 n = (addr & ~MLX5_U64_4K_PAGE_MASK) >> MLX5_ADAPTER_PAGE_SHIFT; in free_4k()
|
H A D | eq.c | 324 eq->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_map_eq()
|
H A D | en_main.c | 1075 MLX5_ADAPTER_PAGE_SHIFT); in mlx5e_create_rq() 1712 MLX5_ADAPTER_PAGE_SHIFT); in mlx5e_create_sq() 2185 MLX5_ADAPTER_PAGE_SHIFT); in mlx5e_create_cq()
|
H A D | cmd.c | 2361 if (cmd->vars.log_sz + cmd->vars.log_stride > MLX5_ADAPTER_PAGE_SHIFT) { in mlx5_cmd_enable()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | aso.c | 105 MLX5_ADAPTER_PAGE_SHIFT); in create_aso_cq() 208 MLX5_ADAPTER_PAGE_SHIFT); in create_aso_sq()
|
/linux/include/linux/mlx5/ |
H A D | device.h | 247 MLX5_ADAPTER_PAGE_SHIFT = 12, enumerator 248 MLX5_ADAPTER_PAGE_SIZE = 1 << MLX5_ADAPTER_PAGE_SHIFT,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_send.c | 643 MLX5_SET(wq, wq, log_wq_pg_sz, sq->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in hws_send_ring_create_sq() 819 MLX5_SET(cqc, cqc, log_page_size, cq->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in hws_send_ring_create_cq()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_send.c | 311 dr_qp->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in dr_create_rc_qp() 1111 MLX5_ADAPTER_PAGE_SHIFT); in dr_create_cq()
|
/linux/drivers/vfio/pci/mlx5/ |
H A D | cmd.c | 1137 MLX5_ADAPTER_PAGE_SHIFT); in mlx5vf_create_cq() 1210 qp->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in mlx5vf_create_rc_qp()
|
/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 398 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare() 596 MLX5_SET(cqc, cqc, log_page_size, vcq->buf.frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in cq_create() 744 MLX5_SET(umem, um, log_page_size, umem->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_umem()
|