/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | srq.c | 43 void mlx4_srq_event(struct mlx4_dev *dev, u32 srqn, int event_type) in mlx4_srq_event() argument 50 srq = radix_tree_lookup(&srq_table->tree, srqn & (dev->caps.num_srqs - 1)); in mlx4_srq_event() 57 mlx4_warn(dev, "Async event for bogus SRQ %08x\n", srqn); in mlx4_srq_event() 96 int __mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn) in __mlx4_srq_alloc_icm() argument 102 *srqn = mlx4_bitmap_alloc(&srq_table->bitmap); in __mlx4_srq_alloc_icm() 103 if (*srqn == -1) in __mlx4_srq_alloc_icm() 106 err = mlx4_table_get(dev, &srq_table->table, *srqn); in __mlx4_srq_alloc_icm() 110 err = mlx4_table_get(dev, &srq_table->cmpt_table, *srqn); in __mlx4_srq_alloc_icm() 116 mlx4_table_put(dev, &srq_table->table, *srqn); in __mlx4_srq_alloc_icm() 119 mlx4_bitmap_free(&srq_table->bitmap, *srqn); in __mlx4_srq_alloc_icm() [all …]
|
D | resource_tracker.c | 1165 int srqn; in srq_alloc_res() local 1170 err = __mlx4_srq_alloc_icm(dev, &srqn); in srq_alloc_res() 1174 err = add_res_range(dev, slave, srqn, 1, RES_SRQ, 0); in srq_alloc_res() 1176 __mlx4_srq_free_icm(dev, srqn); in srq_alloc_res() 1180 set_param_l(out_param, srqn); in srq_alloc_res() 1451 int srqn; in srq_free_res() local 1456 srqn = get_param_l(&in_param); in srq_free_res() 1457 err = rem_res_range(dev, slave, srqn, 1, RES_SRQ, 0); in srq_free_res() 1461 __mlx4_srq_free_icm(dev, srqn); in srq_free_res() 1583 int srq = (be32_to_cpu(qpc->srqn) >> 24) & 1; in qp_get_mtt_size() [all …]
|
D | mlx4.h | 338 __be32 srqn; member 809 int __mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn); 810 void __mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn); 989 void mlx4_srq_event(struct mlx4_dev *dev, u32 srqn, int event_type);
|
D | eq.c | 300 be32_to_cpu(eqe->event.srq.srqn) in mlx4_eq_int() 314 be32_to_cpu(eqe->event.srq.srqn), in mlx4_eq_int() 326 mlx4_srq_event(dev, be32_to_cpu(eqe->event.srq.srqn) & in mlx4_eq_int()
|
/linux-3.4.99/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 128 context->state_logsize_srqn = cpu_to_be32(logsize << 24 | srq->srqn); in mthca_arbel_init_srq_context() 229 srq->srqn = mthca_alloc(&dev->srq_table.alloc); in mthca_alloc_srq() 230 if (srq->srqn == -1) in mthca_alloc_srq() 234 err = mthca_table_get(dev, dev->srq_table.table, srq->srqn); in mthca_alloc_srq() 240 srq->srqn, &srq->db); in mthca_alloc_srq() 268 err = mthca_SW2HW_SRQ(dev, mailbox, srq->srqn); in mthca_alloc_srq() 277 srq->srqn & (dev->limits.num_srqs - 1), in mthca_alloc_srq() 295 err = mthca_HW2SW_SRQ(dev, mailbox, srq->srqn); in mthca_alloc_srq() 311 mthca_table_put(dev, dev->srq_table.table, srq->srqn); in mthca_alloc_srq() 314 mthca_free(&dev->srq_table.alloc, srq->srqn); in mthca_alloc_srq() [all …]
|
D | mthca_user.h | 99 __u32 srqn; member
|
D | mthca_provider.h | 226 int srqn; member
|
D | mthca_eq.c | 146 __be32 srqn; member 302 mthca_srq_event(dev, be32_to_cpu(eqe->event.srq.srqn) & 0xffffff, in mthca_eq_int()
|
D | mthca_dev.h | 519 void mthca_srq_event(struct mthca_dev *dev, u32 srqn,
|
D | mthca_qp.c | 151 __be32 srqn; member 767 qp_context->srqn = cpu_to_be32(1 << 24 | in __mthca_modify_qp() 768 to_msrq(ibqp->srq)->srqn); in __mthca_modify_qp()
|
D | mthca_provider.c | 479 if (context && ib_copy_to_udata(udata, &srq->srqn, sizeof (__u32))) { in mthca_create_srq()
|
/linux-3.4.99/drivers/infiniband/hw/mlx4/ |
D | user.h | 84 __u32 srqn; member
|
D | srq.c | 63 "on SRQ %06x\n", type, srq->srqn); in mlx4_ib_srq_event() 190 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq() 193 if (ib_copy_to_udata(udata, &srq->msrq.srqn, sizeof (__u32))) { in mlx4_ib_create_srq()
|
D | qp.c | 1195 context->srqn = cpu_to_be32(1 << 24 | to_msrq(ibqp->srq)->msrq.srqn); in __mlx4_ib_modify_qp()
|
/linux-3.4.99/include/linux/mlx4/ |
D | qp.h | 172 __be32 srqn; member
|
D | device.h | 435 int srqn; member
|
/linux-3.4.99/include/rdma/ |
D | ib_user_verbs.h | 699 __u32 srqn; member
|
/linux-3.4.99/drivers/infiniband/core/ |
D | uverbs_cmd.c | 2548 resp.srqn = srq->ext.xrc.srq_num; in __uverbs_create_xsrq()
|