Home
last modified time | relevance | path

Searched refs:qp (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/drivers/ntb/
Dntb_transport.c114 struct ntb_transport_qp *qp; member
142 void (*tx_handler)(struct ntb_transport_qp *qp, void *qp_data,
152 void (*rx_handler)(struct ntb_transport_qp *qp, void *qp_data,
253 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument
260 static int ntb_async_tx_submit(struct ntb_transport_qp *qp,
449 struct ntb_transport_qp *qp; in debugfs_read() local
453 qp = filp->private_data; in debugfs_read()
455 if (!qp || !qp->link_is_up) in debugfs_read()
468 "rx_bytes - \t%llu\n", qp->rx_bytes); in debugfs_read()
470 "rx_pkts - \t%llu\n", qp->rx_pkts); in debugfs_read()
[all …]
/linux-4.19.296/include/rdma/
Drdma_vt.h76 struct rvt_qp __rcu *qp[2]; member
214 void (*schedule_send)(struct rvt_qp *qp);
215 void (*schedule_send_no_lock)(struct rvt_qp *qp);
218 int (*check_send_wqe)(struct rvt_qp *qp, struct rvt_swqe *wqe);
224 void (*do_send)(struct rvt_qp *qp);
242 void * (*qp_priv_alloc)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
247 void (*qp_priv_free)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
253 void (*notify_qp_reset)(struct rvt_qp *qp);
258 int (*get_pmtu_from_attr)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
265 void (*flush_qp_waiters)(struct rvt_qp *qp);
[all …]
Drdmavt_qp.h439 struct rvt_qp *qp; member
460 static inline struct rvt_swqe *rvt_get_swqe_ptr(struct rvt_qp *qp, in rvt_get_swqe_ptr() argument
463 return (struct rvt_swqe *)((char *)qp->s_wq + in rvt_get_swqe_ptr()
465 qp->s_max_sge * in rvt_get_swqe_ptr()
485 static inline bool rvt_is_user_qp(struct rvt_qp *qp) in rvt_is_user_qp() argument
487 return !!qp->pid; in rvt_is_user_qp()
494 static inline void rvt_get_qp(struct rvt_qp *qp) in rvt_get_qp() argument
496 atomic_inc(&qp->refcount); in rvt_get_qp()
503 static inline void rvt_put_qp(struct rvt_qp *qp) in rvt_put_qp() argument
505 if (qp && atomic_dec_and_test(&qp->refcount)) in rvt_put_qp()
[all …]
Drw.h62 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
65 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
69 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
74 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
79 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
81 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
87 int rdma_rw_init_mrs(struct ib_qp *qp, struct ib_qp_init_attr *attr);
88 void rdma_rw_cleanup_mrs(struct ib_qp *qp);
Dmr_pool.h18 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list);
19 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr);
21 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr,
23 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list);
Diw_cm.h109 void (*add_ref)(struct ib_qp *qp);
111 void (*rem_ref)(struct ib_qp *qp);
164 void iw_cm_unbind_qp(struct iw_cm_id *cm_id, struct ib_qp *qp);
Dib_verbs.h652 struct ib_qp *qp; member
995 struct ib_qp *qp; member
1734 struct ib_qp *qp; member
2098 struct ib_qp *qp; member
2394 int (*modify_qp)(struct ib_qp *qp,
2398 int (*query_qp)(struct ib_qp *qp,
2402 int (*destroy_qp)(struct ib_qp *qp);
2403 int (*post_send)(struct ib_qp *qp,
2406 int (*post_recv)(struct ib_qp *qp,
2459 int (*attach_mcast)(struct ib_qp *qp,
[all …]
Dib_mad.h602 struct ib_qp *qp; member
824 struct ib_mad_agent *ib_redirect_mad_qp(struct ib_qp *qp,
Drdma_cm.h131 struct ib_qp *qp; member
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_nodeqp.c105 int scif_setup_qp_connect(struct scif_qp *qp, dma_addr_t *qp_offset, in scif_setup_qp_connect() argument
108 void *local_q = qp->inbound_q.rb_base; in scif_setup_qp_connect()
112 spin_lock_init(&qp->send_lock); in scif_setup_qp_connect()
113 spin_lock_init(&qp->recv_lock); in scif_setup_qp_connect()
124 err = scif_map_single(&qp->local_buf, local_q, scifdev, local_size); in scif_setup_qp_connect()
131 scif_rb_init(&qp->inbound_q, in scif_setup_qp_connect()
133 &qp->local_write, in scif_setup_qp_connect()
139 qp->inbound_q.read_ptr = NULL; in scif_setup_qp_connect()
140 err = scif_map_single(qp_offset, qp, in scif_setup_qp_connect()
144 qp->local_qp = *qp_offset; in scif_setup_qp_connect()
[all …]
Dscif_epd.c23 struct scif_qp *qp = ep->qp_info.qp; in scif_cleanup_ep_qp() local
25 if (qp->outbound_q.rb_base) { in scif_cleanup_ep_qp()
26 scif_iounmap((void *)qp->outbound_q.rb_base, in scif_cleanup_ep_qp()
27 qp->outbound_q.size, ep->remote_dev); in scif_cleanup_ep_qp()
28 qp->outbound_q.rb_base = NULL; in scif_cleanup_ep_qp()
30 if (qp->remote_qp) { in scif_cleanup_ep_qp()
31 scif_iounmap((void *)qp->remote_qp, in scif_cleanup_ep_qp()
33 qp->remote_qp = NULL; in scif_cleanup_ep_qp()
35 if (qp->local_qp) { in scif_cleanup_ep_qp()
36 scif_unmap_single(qp->local_qp, ep->remote_dev, in scif_cleanup_ep_qp()
[all …]
Dscif_nm.c62 struct scif_qp *qp = scifdev->qpairs; in scif_free_qp() local
64 if (!qp) in scif_free_qp()
66 scif_unmap_single(qp->local_buf, scifdev, qp->inbound_q.size); in scif_free_qp()
67 kfree(qp->inbound_q.rb_base); in scif_free_qp()
68 scif_unmap_single(qp->local_qp, scifdev, sizeof(struct scif_qp)); in scif_free_qp()
75 struct scif_qp *qp = &dev->qpairs[0]; in scif_cleanup_qp() local
77 if (!qp) in scif_cleanup_qp()
79 scif_iounmap((void *)qp->remote_qp, sizeof(struct scif_qp), dev); in scif_cleanup_qp()
80 scif_iounmap((void *)qp->outbound_q.rb_base, in scif_cleanup_qp()
82 qp->remote_qp = NULL; in scif_cleanup_qp()
[all …]
Dscif_nodeqp.h186 void scif_nodeqp_intrhandler(struct scif_dev *scifdev, struct scif_qp *qp);
187 int scif_loopb_msg_handler(struct scif_dev *scifdev, struct scif_qp *qp);
190 int scif_setup_qp_connect(struct scif_qp *qp, dma_addr_t *qp_offset,
192 int scif_setup_qp_accept(struct scif_qp *qp, dma_addr_t *qp_offset,
196 struct scif_qp *qp, u64 payload);
Dscif_api.c61 ep->qp_info.qp = kzalloc(sizeof(*ep->qp_info.qp), GFP_KERNEL); in scif_open()
62 if (!ep->qp_info.qp) in scif_open()
80 kfree(ep->qp_info.qp); in scif_open()
434 ep->qp_info.qp = NULL; in scif_listen()
485 err = scif_setup_qp_connect(ep->qp_info.qp, &ep->qp_info.qp_offset, in scif_conn_func()
528 ep->qp_info.qp, in scif_conn_func()
693 ep->qp_info.qp->magic = SCIFEP_MAGIC; in __scif_connect()
827 cep->qp_info.qp = kzalloc(sizeof(*cep->qp_info.qp), GFP_KERNEL); in scif_accept()
828 if (!cep->qp_info.qp) { in scif_accept()
837 cep->qp_info.qp->magic = SCIFEP_MAGIC; in scif_accept()
[all …]
Dscif_epd.h63 struct scif_qp *qp; member
/linux-4.19.296/include/linux/
Dntb_transport.h65 void (*rx_handler)(struct ntb_transport_qp *qp, void *qp_data,
67 void (*tx_handler)(struct ntb_transport_qp *qp, void *qp_data,
72 unsigned char ntb_transport_qp_num(struct ntb_transport_qp *qp);
73 unsigned int ntb_transport_max_size(struct ntb_transport_qp *qp);
77 void ntb_transport_free_queue(struct ntb_transport_qp *qp);
78 int ntb_transport_rx_enqueue(struct ntb_transport_qp *qp, void *cb, void *data,
80 int ntb_transport_tx_enqueue(struct ntb_transport_qp *qp, void *cb, void *data,
82 void *ntb_transport_rx_remove(struct ntb_transport_qp *qp, unsigned int *len);
83 void ntb_transport_link_up(struct ntb_transport_qp *qp);
84 void ntb_transport_link_down(struct ntb_transport_qp *qp);
[all …]
/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c204 struct qp_entry qp; member
222 struct qp_entry qp; member
838 struct qp_entry *qp = qp_list_find(&qp_guest_endpoints, handle); in qp_guest_handle_to_entry() local
840 entry = qp ? container_of( in qp_guest_handle_to_entry()
841 qp, struct qp_guest_endpoint, qp) : NULL; in qp_guest_handle_to_entry()
852 struct qp_entry *qp = qp_list_find(&qp_broker_list, handle); in qp_broker_handle_to_entry() local
854 entry = qp ? container_of( in qp_broker_handle_to_entry()
855 qp, struct qp_broker_entry, qp) : NULL; in qp_broker_handle_to_entry()
911 entry->qp.peer = peer; in qp_guest_endpoint_create()
912 entry->qp.flags = flags; in qp_guest_endpoint_create()
[all …]
/linux-4.19.296/lib/mpi/
Dmpih-div.c58 mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs, in mpihelp_divrem() argument
87 qp += qextra_limbs; in mpihelp_divrem()
89 udiv_qrnnd(qp[i], n1, n1, np[i], d); in mpihelp_divrem()
90 qp -= qextra_limbs; in mpihelp_divrem()
93 udiv_qrnnd(qp[i], n1, n1, 0, d); in mpihelp_divrem()
135 qp[i] = q; in mpihelp_divrem()
156 qp[i] = q; in mpihelp_divrem()
229 qp[i] = q; in mpihelp_divrem()
Dmpi-internal.h162 mpi_limb_t mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs,
/linux-4.19.296/include/net/
Derspan.h165 } *qp; in erspan_build_header() local
180 qp = (struct qtag_prefix *)(skb->data + 2 * ETH_ALEN); in erspan_build_header()
181 vlan_tci = ntohs(qp->tci); in erspan_build_header()
259 } *qp; in erspan_build_header_v2() local
274 qp = (struct qtag_prefix *)(skb->data + 2 * ETH_ALEN); in erspan_build_header_v2()
275 vlan_tci = ntohs(qp->tci); in erspan_build_header_v2()
/linux-4.19.296/include/linux/mlx5/
Dqp.h558 struct mlx5_core_dct *qp,
561 struct mlx5_core_qp *qp,
566 struct mlx5_core_qp *qp);
568 struct mlx5_core_qp *qp);
571 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp,
583 int mlx5_debug_qp_add(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp);
584 void mlx5_debug_qp_remove(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp);
/linux-4.19.296/include/linux/mlx4/
Dqp.h480 int sqd_event, struct mlx4_qp *qp);
482 int mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp,
487 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
494 void mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp);
Ddevice.h842 int qp; member
930 } __packed qp; member
1146 int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp);
1147 void mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp);
1158 int mlx4_unicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16],
1160 int mlx4_unicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16],
1162 int mlx4_multicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16],
1165 int mlx4_multicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16],
/linux-4.19.296/include/linux/qed/
Dqed_rdma_if.h522 struct qed_rdma_qp *qp; member
550 struct qed_rdma_qp *qp; member
634 int (*rdma_modify_qp)(void *roce_cxt, struct qed_rdma_qp *qp,
637 int (*rdma_query_qp)(void *rdma_cxt, struct qed_rdma_qp *qp,
639 int (*rdma_destroy_qp)(void *rdma_cxt, struct qed_rdma_qp *qp);
/linux-4.19.296/include/uapi/rdma/
Dvmw_pvrdma-abi.h280 __aligned_u64 qp; member

12