Home
last modified time | relevance | path

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

/Linux-v6.6/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,
/Linux-v6.6/drivers/infiniband/sw/rdmavt/
Dtrace_tx.h56 __field(u32, qpt)
76 __entry->qpt = qp->ibqp.qp_type;
98 __entry->qpt,
123 __field(u32, qpt)
135 __entry->qpt = qp->ibqp.qp_type;
146 __entry->qpt,
Dqp.c265 static void get_map_page(struct rvt_qpn_table *qpt, in get_map_page() argument
274 spin_lock(&qpt->lock); in get_map_page()
279 spin_unlock(&qpt->lock); in get_map_page()
287 static int init_qpn_table(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt) in init_qpn_table() argument
296 spin_lock_init(&qpt->lock); in init_qpn_table()
298 qpt->last = rdi->dparms.qpn_start; in init_qpn_table()
299 qpt->incr = rdi->dparms.qpn_inc << rdi->dparms.qos_shift; in init_qpn_table()
309 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; in init_qpn_table()
315 map = &qpt->map[qpt->nmaps]; in init_qpn_table()
321 get_map_page(qpt, map); in init_qpn_table()
[all …]
/Linux-v6.6/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.h450 struct bna_qpt qpt; member
579 struct bna_qpt qpt; member
644 struct bna_qpt qpt; member
/Linux-v6.6/include/rdma/
Drdma_vt.h340 int (*alloc_qpn)(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt,
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dtrace_tx.h821 __field(u32, qpt)
833 __entry->qpt = qp->ibqp.qp_type;
844 __entry->qpt,
/Linux-v6.6/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h861 enum ib_qp_type qpt, struct ib_wc *wc,
Dqp.c3375 enum mlx4_ib_qp_type qpt) in set_tunnel_datagram_seg() argument
3388 if (qpt == MLX4_IB_QPT_PROXY_GSI) in set_tunnel_datagram_seg()