Home
last modified time | relevance | path

Searched refs:qpt (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_qp.c44 static inline unsigned mk_qpn(struct rvt_qpn_table *qpt, in mk_qpn() argument
47 return (map - qpt->map) * RVT_BITS_PER_PAGE + off; in mk_qpn()
50 static inline unsigned find_next_offset(struct rvt_qpn_table *qpt, in find_next_offset() argument
107 static void get_map_page(struct rvt_qpn_table *qpt, struct rvt_qpn_map *map) in get_map_page() argument
115 spin_lock(&qpt->lock); in get_map_page()
120 spin_unlock(&qpt->lock); in get_map_page()
127 int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, in qib_alloc_qpn() argument
143 spin_lock(&qpt->lock); in qib_alloc_qpn()
144 if (qpt->flags & n) in qib_alloc_qpn()
147 qpt->flags |= n; in qib_alloc_qpn()
[all …]
Dqib_verbs.h275 int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt,
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dtrace_tx.h98 __field(u32, qpt)
118 __entry->qpt = qp->ibqp.qp_type;
140 __entry->qpt,
165 __field(u32, qpt)
177 __entry->qpt = qp->ibqp.qp_type;
188 __entry->qpt,
Dqp.c307 static void get_map_page(struct rvt_qpn_table *qpt, in get_map_page() argument
316 spin_lock(&qpt->lock); in get_map_page()
321 spin_unlock(&qpt->lock); in get_map_page()
328 static int init_qpn_table(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt) in init_qpn_table() argument
337 spin_lock_init(&qpt->lock); in init_qpn_table()
339 qpt->last = rdi->dparms.qpn_start; in init_qpn_table()
340 qpt->incr = rdi->dparms.qpn_inc << rdi->dparms.qos_shift; in init_qpn_table()
350 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; in init_qpn_table()
356 map = &qpt->map[qpt->nmaps]; in init_qpn_table()
362 get_map_page(qpt, map); in init_qpn_table()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c1636 &q1->qpt); in bna_bfi_rx_enet_start()
1644 &q0->qpt); in bna_bfi_rx_enet_start()
1665 &rxp->cq.qpt); in bna_bfi_rx_enet_start()
1866 rxq->qpt.hw_qpt_ptr.lsb = qpt_mem->dma.lsb; in bna_rxq_qpt_setup()
1867 rxq->qpt.hw_qpt_ptr.msb = qpt_mem->dma.msb; in bna_rxq_qpt_setup()
1868 rxq->qpt.kv_qpt_ptr = qpt_mem->kva; in bna_rxq_qpt_setup()
1869 rxq->qpt.page_count = page_count; in bna_rxq_qpt_setup()
1870 rxq->qpt.page_size = page_size; in bna_rxq_qpt_setup()
1878 for (i = 0; i < rxq->qpt.page_count; i++) { in bna_rxq_qpt_setup()
1883 ((struct bna_dma_addr *)rxq->qpt.kv_qpt_ptr)[i].lsb = in bna_rxq_qpt_setup()
[all …]
Dbna_types.h444 struct bna_qpt qpt; member
570 struct bna_qpt qpt; member
635 struct bna_qpt qpt; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace_tx.h787 __field(u32, qpt)
799 __entry->qpt = qp->ibqp.qp_type;
810 __entry->qpt,
/kernel/linux/linux-5.10/include/rdma/
Drdma_vt.h340 int (*alloc_qpn)(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt,
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h860 enum ib_qp_type qpt, struct ib_wc *wc,
Dqp.c3338 enum mlx4_ib_qp_type qpt) in set_tunnel_datagram_seg() argument
3351 if (qpt == MLX4_IB_QPT_PROXY_GSI) in set_tunnel_datagram_seg()