Home
last modified time | relevance | path

Searched defs:qp (Results 1 – 25 of 251) sorted by relevance

1234567891011

/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dqp.c164 static void flush_tx_list(struct rvt_qp *qp) in flush_tx_list()
172 static void flush_iowait(struct rvt_qp *qp) in flush_iowait()
202 int hfi1_check_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_check_modify_qp()
244 static inline void qp_set_16b(struct rvt_qp *qp) in qp_set_16b()
264 void hfi1_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_modify_qp()
305 int hfi1_setup_wqe(struct rvt_qp *qp, struct rvt_swqe *wqe, bool *call_send) in hfi1_setup_wqe()
364 bool _hfi1_schedule_send(struct rvt_qp *qp) in _hfi1_schedule_send()
381 static void qp_pio_drain(struct rvt_qp *qp) in qp_pio_drain()
407 bool hfi1_schedule_send(struct rvt_qp *qp) in hfi1_schedule_send()
420 static void hfi1_qp_schedule(struct rvt_qp *qp) in hfi1_qp_schedule()
[all …]
Dtid_rdma.c143 static void tid_rdma_schedule_ack(struct rvt_qp *qp) in tid_rdma_schedule_ack()
151 static void tid_rdma_trigger_ack(struct rvt_qp *qp) in tid_rdma_trigger_ack()
193 void tid_rdma_opfn_init(struct rvt_qp *qp, struct tid_rdma_params *p) in tid_rdma_opfn_init()
206 bool tid_rdma_conn_req(struct rvt_qp *qp, u64 *data) in tid_rdma_conn_req()
214 bool tid_rdma_conn_reply(struct rvt_qp *qp, u64 data) in tid_rdma_conn_reply()
269 bool tid_rdma_conn_resp(struct rvt_qp *qp, u64 *data) in tid_rdma_conn_resp()
285 void tid_rdma_conn_error(struct rvt_qp *qp) in tid_rdma_conn_error()
320 struct rvt_qp *qp) in qp_to_rcd()
337 int hfi1_qp_priv_init(struct rvt_dev_info *rdi, struct rvt_qp *qp, in hfi1_qp_priv_init()
412 void hfi1_qp_priv_tid_free(struct rvt_dev_info *rdi, struct rvt_qp *qp) in hfi1_qp_priv_tid_free()
[all …]
Druc.c73 struct rvt_qp *qp = packet->qp; in hfi1_ruc_check_hdr() local
205 static inline void build_ahg(struct rvt_qp *qp, u32 npsn) in build_ahg()
249 static inline void hfi1_make_ruc_bth(struct rvt_qp *qp, in hfi1_make_ruc_bth()
272 static inline void hfi1_make_ruc_header_16B(struct rvt_qp *qp, in hfi1_make_ruc_header_16B()
360 static inline void hfi1_make_ruc_header_9B(struct rvt_qp *qp, in hfi1_make_ruc_header_9B()
426 void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, in hfi1_make_ruc_header()
470 bool hfi1_schedule_send_yield(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_schedule_send_yield()
512 void hfi1_do_send_from_rvt(struct rvt_qp *qp) in hfi1_do_send_from_rvt()
520 struct rvt_qp *qp = iowait_to_qp(w->iow); in _hfi1_do_send() local
534 void hfi1_do_send(struct rvt_qp *qp, bool in_thread) in hfi1_do_send()
Drc.c58 struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev, in find_prev_entry()
109 static int make_rc_ack(struct hfi1_ibdev *dev, struct rvt_qp *qp, in make_rc_ack()
429 int hfi1_make_rc_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) in hfi1_make_rc_req()
1221 static inline void hfi1_make_bth_aeth(struct rvt_qp *qp, in hfi1_make_bth_aeth()
1239 struct rvt_qp *qp = packet->qp; in hfi1_queue_rc_ack() local
1266 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_9B() local
1319 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_16B() local
1389 struct rvt_qp *qp = packet->qp; in hfi1_send_rc_ack() local
1459 static void update_num_rd_atomic(struct rvt_qp *qp, u32 psn, in update_num_rd_atomic()
1500 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn()
[all …]
Dopfn.c41 static void opfn_conn_request(struct rvt_qp *qp) in opfn_conn_request()
127 static void opfn_schedule_conn_request(struct rvt_qp *qp) in opfn_schedule_conn_request()
135 void opfn_conn_response(struct rvt_qp *qp, struct rvt_ack_entry *e, in opfn_conn_response()
175 void opfn_conn_reply(struct rvt_qp *qp, u64 data) in opfn_conn_reply()
214 void opfn_conn_error(struct rvt_qp *qp) in opfn_conn_error()
242 void opfn_qp_init(struct rvt_qp *qp, struct ib_qp_attr *attr, int attr_mask) in opfn_qp_init()
293 void opfn_trigger_conn_request(struct rvt_qp *qp, u32 bth1) in opfn_trigger_conn_request()
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c98 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources()
110 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources()
125 void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res) in free_rd_atomic_resource()
137 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources()
150 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc()
192 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req()
258 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp()
307 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init()
357 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init()
385 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr()
[all …]
Drxe_req.c17 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send()
41 static void req_retry(struct rxe_qp *qp) in req_retry()
99 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() local
105 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe()
167 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc()
239 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc()
290 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode()
321 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth()
341 static inline int get_mtu(struct rxe_qp *qp) in get_mtu()
351 static struct sk_buff *init_req_packet(struct rxe_qp *qp, in init_req_packet()
[all …]
Drxe_resp.c80 void rxe_resp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_resp_queue_pkt()
93 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req()
117 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn()
161 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq()
251 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid()
289 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe()
331 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource()
375 static enum resp_states check_length(struct rxe_qp *qp, in check_length()
390 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey()
480 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in()
[all …]
Drxe_comp.c114 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() local
122 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt()
135 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe()
163 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters()
170 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn()
209 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack()
340 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read()
358 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic()
375 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe()
413 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete()
[all …]
Drxe_loc.h147 static inline int qp_num(struct rxe_qp *qp) in qp_num()
152 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) in qp_type()
157 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state()
162 static inline int qp_mtu(struct rxe_qp *qp) in qp_mtu()
178 static inline void rxe_advance_resp_resource(struct rxe_qp *qp) in rxe_advance_resp_resource()
214 static inline unsigned int wr_opcode_mask(int opcode, struct rxe_qp *qp) in wr_opcode_mask()
219 static inline int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, in rxe_xmit_packet()
/Linux-v5.10/drivers/infiniband/sw/siw/
Dsiw_qp.c95 struct siw_qp *qp; in siw_qp_llp_data_ready() local
126 void siw_qp_llp_close(struct siw_qp *qp) in siw_qp_llp_close()
200 static int siw_qp_readq_init(struct siw_qp *qp, int irq_size, int orq_size) in siw_qp_readq_init()
226 static int siw_qp_enable_crc(struct siw_qp *qp) in siw_qp_enable_crc()
260 int siw_qp_mpa_rts(struct siw_qp *qp, enum mpa_v2_ctrl ctrl) in siw_qp_mpa_rts()
363 void siw_init_terminate(struct siw_qp *qp, enum term_elayer layer, u8 etype, in siw_init_terminate()
386 void siw_send_terminate(struct siw_qp *qp) in siw_send_terminate()
611 static void siw_qp_modify_nonstate(struct siw_qp *qp, in siw_qp_modify_nonstate()
633 static int siw_qp_nextstate_from_idle(struct siw_qp *qp, in siw_qp_nextstate_from_idle()
702 static int siw_qp_nextstate_from_rts(struct siw_qp *qp, in siw_qp_nextstate_from_rts()
[all …]
Dsiw_qp_rx.c330 static struct siw_wqe *siw_rqe_get(struct siw_qp *qp) in siw_rqe_get()
421 int siw_proc_send(struct siw_qp *qp) in siw_proc_send()
540 int siw_proc_write(struct siw_qp *qp) in siw_proc_write()
631 int siw_proc_rreq(struct siw_qp *qp) in siw_proc_rreq()
660 static int siw_init_rresp(struct siw_qp *qp, struct siw_rx_stream *srx) in siw_init_rresp()
738 static int siw_orqe_start_rx(struct siw_qp *qp) in siw_orqe_start_rx()
778 int siw_proc_rresp(struct siw_qp *qp) in siw_proc_rresp()
876 int siw_proc_terminate(struct siw_qp *qp) in siw_proc_terminate()
953 static int siw_get_trailer(struct siw_qp *qp, struct siw_rx_stream *srx) in siw_get_trailer()
1001 struct siw_qp *qp = rx_qp(srx); in siw_get_hdr() local
[all …]
/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c58 static inline void get_cqs(struct pvrdma_qp *qp, struct pvrdma_cq **send_cq, in get_cqs()
101 static void pvrdma_reset_qp(struct pvrdma_qp *qp) in pvrdma_reset_qp()
132 struct pvrdma_qp *qp) in pvrdma_set_rq_size()
157 struct pvrdma_qp *qp) in pvrdma_set_sq_size()
195 struct pvrdma_qp *qp = NULL; in pvrdma_create_qp() local
439 static void _pvrdma_free_qp(struct pvrdma_qp *qp) in _pvrdma_free_qp()
462 static void pvrdma_free_qp(struct pvrdma_qp *qp) in pvrdma_free_qp()
510 int pvrdma_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in pvrdma_destroy_qp()
521 struct pvrdma_qp *qp) in __pvrdma_destroy_qp()
540 struct pvrdma_qp *qp = to_vqp(ibqp); in pvrdma_modify_qp() local
[all …]
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dqp.c464 static void rvt_free_qp_cb(struct rvt_qp *qp, u64 v) in rvt_free_qp_cb()
621 static void rvt_clear_mr_refs(struct rvt_qp *qp, int clr_sends) in rvt_clear_mr_refs()
681 static bool rvt_qp_sends_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_sends_has_lkey()
705 static bool rvt_qp_acks_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_acks_has_lkey()
730 void rvt_qp_mr_clean(struct rvt_qp *qp, u32 lkey) in rvt_qp_mr_clean()
771 static void rvt_remove_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp) in rvt_remove_qp()
864 static void rvt_init_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in rvt_init_qp()
915 static void _rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in _rvt_reset_qp()
971 static void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in rvt_reset_qp()
1016 static void free_ud_wq_attr(struct rvt_qp *qp) in free_ud_wq_attr()
[all …]
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_qp.c233 void qib_notify_qp_reset(struct rvt_qp *qp) in qib_notify_qp_reset()
240 void qib_notify_error_qp(struct rvt_qp *qp) in qib_notify_error_qp()
291 int qib_get_pmtu_from_attr(struct rvt_dev_info *rdi, struct rvt_qp *qp, in qib_get_pmtu_from_attr()
314 u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in qib_mtu_from_qp()
319 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_alloc()
340 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_free()
348 void qib_stop_send_queue(struct rvt_qp *qp) in qib_stop_send_queue()
355 void qib_quiesce_qp(struct rvt_qp *qp) in qib_quiesce_qp()
366 void qib_flush_qp_waiters(struct rvt_qp *qp) in qib_flush_qp_waiters()
385 int qib_check_send_wqe(struct rvt_qp *qp, in qib_check_send_wqe()
[all …]
Dqib_rc.c62 static int qib_make_rc_ack(struct qib_ibdev *dev, struct rvt_qp *qp, in qib_make_rc_ack()
215 int qib_make_rc_req(struct rvt_qp *qp, unsigned long *flags) in qib_make_rc_req()
597 void qib_send_rc_ack(struct rvt_qp *qp) in qib_send_rc_ack()
735 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn()
820 void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait) in qib_restart_rc()
856 static void reset_sending_psn(struct rvt_qp *qp, u32 psn) in reset_sending_psn()
881 void qib_rc_send_complete(struct rvt_qp *qp, struct ib_header *hdr) in qib_rc_send_complete()
940 static inline void update_last_psn(struct rvt_qp *qp, u32 psn) in update_last_psn()
950 static struct rvt_swqe *do_rc_completion(struct rvt_qp *qp, in do_rc_completion()
1006 static int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack()
[all …]
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c59 static void bnxt_qplib_cancel_phantom_processing(struct bnxt_qplib_qp *qp) in bnxt_qplib_cancel_phantom_processing()
67 static void __bnxt_qplib_add_flush_qp(struct bnxt_qplib_qp *qp) in __bnxt_qplib_add_flush_qp()
91 static void bnxt_qplib_acquire_cq_flush_locks(struct bnxt_qplib_qp *qp, in bnxt_qplib_acquire_cq_flush_locks()
102 static void bnxt_qplib_release_cq_flush_locks(struct bnxt_qplib_qp *qp, in bnxt_qplib_release_cq_flush_locks()
113 void bnxt_qplib_add_flush_qp(struct bnxt_qplib_qp *qp) in bnxt_qplib_add_flush_qp()
122 static void __bnxt_qplib_del_flush_qp(struct bnxt_qplib_qp *qp) in __bnxt_qplib_del_flush_qp()
136 void bnxt_qplib_clean_qp(struct bnxt_qplib_qp *qp) in bnxt_qplib_clean_qp()
174 struct bnxt_qplib_qp *qp) in bnxt_qplib_free_qp_hdr_buf()
196 struct bnxt_qplib_qp *qp) in bnxt_qplib_alloc_qp_hdr_buf()
808 int bnxt_qplib_create_qp1(struct bnxt_qplib_res *res, struct bnxt_qplib_qp *qp) in bnxt_qplib_create_qp1()
[all …]
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dqp.c105 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp()
115 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp()
143 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0()
166 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe()
171 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe()
176 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe()
186 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n) in stamp_send_wqe()
203 static void mlx4_ib_qp_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_qp_event()
249 static void mlx4_ib_wq_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_wq_event()
302 bool is_user, bool has_rq, struct mlx4_ib_qp *qp, in set_rq_size()
[all …]
/Linux-v5.10/drivers/infiniband/core/
Dcounters.c136 const struct ib_qp *qp, in auto_mode_init_counter()
148 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match()
165 struct ib_qp *qp) in __rdma_counter_bind_qp()
182 static int __rdma_counter_unbind_qp(struct ib_qp *qp) in __rdma_counter_unbind_qp()
219 static struct rdma_counter *rdma_get_counter_auto_mode(struct ib_qp *qp, in rdma_get_counter_auto_mode()
251 struct ib_qp *qp) in rdma_counter_res_add()
271 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u8 port) in rdma_counter_bind_qp_auto()
319 int rdma_counter_unbind_qp(struct ib_qp *qp, bool force) in rdma_counter_unbind_qp()
405 struct ib_qp *qp = NULL; in rdma_counter_get_qp() local
423 struct ib_qp *qp) in rdma_counter_bind_qp_manual()
[all …]
/Linux-v5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1079 static int ocrdma_add_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_add_qpn_map()
1090 static void ocrdma_del_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_del_qpn_map()
1169 static int ocrdma_copy_qp_uresp(struct ocrdma_qp *qp, in ocrdma_copy_qp_uresp()
1228 static void ocrdma_set_qp_db(struct ocrdma_dev *dev, struct ocrdma_qp *qp, in ocrdma_set_qp_db()
1248 static int ocrdma_alloc_wr_id_tbl(struct ocrdma_qp *qp) in ocrdma_alloc_wr_id_tbl()
1263 static void ocrdma_set_qp_init_params(struct ocrdma_qp *qp, in ocrdma_set_qp_init_params()
1297 struct ocrdma_qp *qp; in ocrdma_create_qp() local
1369 struct ocrdma_qp *qp; in _ocrdma_modify_qp() local
1390 struct ocrdma_qp *qp; in ocrdma_modify_qp() local
1460 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_query_qp() local
[all …]
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_uk.c47 static enum i40iw_status_code i40iw_nop_1(struct i40iw_qp_uk *qp) in i40iw_nop_1()
87 void i40iw_qp_post_wr(struct i40iw_qp_uk *qp) in i40iw_qp_post_wr()
122 static void i40iw_qp_ring_push_db(struct i40iw_qp_uk *qp, u32 wqe_idx) in i40iw_qp_ring_push_db()
134 u64 *i40iw_qp_get_next_send_wqe(struct i40iw_qp_uk *qp, in i40iw_qp_get_next_send_wqe()
220 u64 *i40iw_qp_get_next_recv_wqe(struct i40iw_qp_uk *qp, u32 *wqe_idx) in i40iw_qp_get_next_recv_wqe()
245 static enum i40iw_status_code i40iw_rdma_write(struct i40iw_qp_uk *qp, in i40iw_rdma_write()
314 static enum i40iw_status_code i40iw_rdma_read(struct i40iw_qp_uk *qp, in i40iw_rdma_read()
362 static enum i40iw_status_code i40iw_send(struct i40iw_qp_uk *qp, in i40iw_send()
422 static enum i40iw_status_code i40iw_inline_rdma_write(struct i40iw_qp_uk *qp, in i40iw_inline_rdma_write()
497 static enum i40iw_status_code i40iw_inline_send(struct i40iw_qp_uk *qp, in i40iw_inline_send()
[all …]
/Linux-v5.10/drivers/ntb/
Dntb_transport.c120 struct ntb_transport_qp *qp; member
272 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument
468 struct ntb_transport_qp *qp; in debugfs_read() local
618 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_mw() local
687 struct ntb_transport_qp *qp = dev; in ntb_transport_isr() local
697 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_peer_msi() local
724 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_msi() local
914 static void ntb_qp_link_down_reset(struct ntb_transport_qp *qp) in ntb_qp_link_down_reset()
937 static void ntb_qp_link_cleanup(struct ntb_transport_qp *qp) in ntb_qp_link_cleanup()
953 struct ntb_transport_qp *qp = container_of(work, in ntb_qp_link_cleanup_work() local
[all …]
/Linux-v5.10/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c58 void qedr_store_gsi_qp_cq(struct qedr_dev *dev, struct qedr_qp *qp, in qedr_store_gsi_qp_cq()
76 struct qedr_qp *qp = dev->gsi_qp; in qedr_ll2_complete_tx_packet() local
101 struct qedr_qp *qp = dev->gsi_qp; in qedr_ll2_complete_rx_packet() local
263 struct ib_qp_init_attr *attrs, struct qedr_qp *qp) in qedr_ll2_start()
324 struct qedr_qp *qp) in qedr_create_gsi_qp()
382 struct qedr_qp *qp, in qedr_gsi_build_header()
493 struct qedr_qp *qp, in qedr_gsi_build_packet()
547 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_send() local
617 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_recv() local
676 struct qedr_qp *qp = dev->gsi_qp; in qedr_gsi_poll_cq() local
/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_qp.c196 static int is_sqp(struct mthca_dev *dev, struct mthca_qp *qp) in is_sqp()
202 static int is_qp0(struct mthca_dev *dev, struct mthca_qp *qp) in is_qp0()
208 static void *get_recv_wqe(struct mthca_qp *qp, int n) in get_recv_wqe()
217 static void *get_send_wqe(struct mthca_qp *qp, int n) in get_send_wqe()
241 struct mthca_qp *qp; in mthca_qp_event() local
328 static __be32 get_hw_access_flags(struct mthca_qp *qp, const struct ib_qp_attr *attr, in get_hw_access_flags()
434 struct mthca_qp *qp = to_mqp(ibqp); in mthca_query_qp() local
563 struct mthca_qp *qp = to_mqp(ibqp); in __mthca_modify_qp() local
862 struct mthca_qp *qp = to_mqp(ibqp); in mthca_modify_qp() local
928 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_roce.c88 static void qed_rdma_copy_gids(struct qed_rdma_qp *qp, __le32 *src_gid, in qed_rdma_copy_gids()
198 static u8 qed_roce_get_qp_tc(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_roce_get_qp_tc()
215 struct qed_rdma_qp *qp) in qed_roce_sp_create_responder()
353 struct qed_rdma_qp *qp) in qed_roce_sp_create_requester()
483 struct qed_rdma_qp *qp, in qed_roce_sp_modify_responder()
570 struct qed_rdma_qp *qp, in qed_roce_sp_modify_requester()
657 struct qed_rdma_qp *qp, in qed_roce_sp_destroy_qp_responder()
743 struct qed_rdma_qp *qp) in qed_roce_sp_destroy_qp_requester()
805 struct qed_rdma_qp *qp, in qed_roce_query_qp()
944 int qed_roce_destroy_qp(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_roce_destroy_qp()
[all …]

1234567891011