Home
last modified time | relevance | path

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

12345

/linux-3.3/drivers/infiniband/hw/ipath/
Dipath_qp.c209 static int ipath_alloc_qpn(struct ipath_qp_table *qpt, struct ipath_qp *qp, in ipath_alloc_qpn()
243 static void ipath_free_qp(struct ipath_qp_table *qpt, struct ipath_qp *qp) in ipath_free_qp()
274 struct ipath_qp *qp; in ipath_free_all_qps() local
304 struct ipath_qp *qp; in ipath_lookup_qpn() local
324 static void ipath_reset_qp(struct ipath_qp *qp, enum ib_qp_type type) in ipath_reset_qp()
377 int ipath_error_qp(struct ipath_qp *qp, enum ib_wc_status err) in ipath_error_qp()
454 struct ipath_qp *qp = to_iqp(ibqp); in ipath_modify_qp() local
624 struct ipath_qp *qp = to_iqp(ibqp); in ipath_query_qp() local
677 __be32 ipath_compute_aeth(struct ipath_qp *qp) in ipath_compute_aeth()
745 struct ipath_qp *qp; in ipath_create_qp() local
[all …]
Dipath_ruc.c87 void ipath_insert_rnr_queue(struct ipath_qp *qp) in ipath_insert_rnr_queue()
123 int ipath_init_sge(struct ipath_qp *qp, struct ipath_rwqe *wqe, in ipath_init_sge()
166 int ipath_get_rwqe(struct ipath_qp *qp, int wr_id_only) in ipath_get_rwqe()
263 struct ipath_qp *qp; in ipath_ruc_loopback() local
517 static void want_buffer(struct ipath_devdata *dd, struct ipath_qp *qp) in want_buffer()
541 static int ipath_no_bufs_available(struct ipath_qp *qp, in ipath_no_bufs_available()
600 void ipath_make_ruc_header(struct ipath_ibdev *dev, struct ipath_qp *qp, in ipath_make_ruc_header()
641 struct ipath_qp *qp = (struct ipath_qp *)data; in ipath_do_send() local
699 void ipath_send_complete(struct ipath_qp *qp, struct ipath_swqe *wqe, in ipath_send_complete()
Dipath_rc.c62 static void ipath_init_restart(struct ipath_qp *qp, struct ipath_swqe *wqe) in ipath_init_restart()
86 static int ipath_make_rc_ack(struct ipath_ibdev *dev, struct ipath_qp *qp, in ipath_make_rc_ack()
213 int ipath_make_rc_req(struct ipath_qp *qp) in ipath_make_rc_req()
612 static void send_rc_ack(struct ipath_qp *qp) in send_rc_ack()
724 static void reset_psn(struct ipath_qp *qp, u32 psn) in reset_psn()
805 void ipath_restart_rc(struct ipath_qp *qp, u32 psn) in ipath_restart_rc()
841 static inline void update_last_psn(struct ipath_qp *qp, u32 psn) in update_last_psn()
857 static int do_rc_ack(struct ipath_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack()
1120 struct ipath_qp *qp, in ipath_rc_rcv_resp()
1338 struct ipath_qp *qp, in ipath_rc_rcv_error()
[all …]
Dipath_verbs_mcast.c53 static struct ipath_mcast_qp *ipath_mcast_qp_alloc(struct ipath_qp *qp) in ipath_mcast_qp_alloc()
70 struct ipath_qp *qp = mqp->qp; in ipath_mcast_qp_free() local
238 struct ipath_qp *qp = to_iqp(ibqp); in ipath_multicast_attach() local
287 struct ipath_qp *qp = to_iqp(ibqp); in ipath_multicast_detach() local
Dipath_ud.c53 struct ipath_qp *qp; in ipath_ud_loopback() local
241 int ipath_make_ud_req(struct ipath_qp *qp) in ipath_make_ud_req()
410 int has_grh, void *data, u32 tlen, struct ipath_qp *qp) in ipath_ud_rcv()
Dipath_verbs.c336 static int ipath_post_one_send(struct ipath_qp *qp, struct ib_send_wr *wr) in ipath_post_one_send()
448 struct ipath_qp *qp = to_iqp(ibqp); in ipath_post_send() local
477 struct ipath_qp *qp = to_iqp(ibqp); in ipath_post_receive() local
542 void *data, u32 tlen, struct ipath_qp *qp) in ipath_qp_rcv()
588 struct ipath_qp *qp; in ipath_ib_rcv() local
682 struct ipath_qp *qp; in ipath_ib_timer() local
1031 struct ipath_qp *qp = tx->qp; in sdma_complete() local
1061 static void decrement_dma_busy(struct ipath_qp *qp) in decrement_dma_busy()
1097 static int ipath_verbs_send_dma(struct ipath_qp *qp, in ipath_verbs_send_dma()
1222 static int ipath_verbs_send_pio(struct ipath_qp *qp, in ipath_verbs_send_pio()
[all …]
Dipath_uc.c46 int ipath_make_uc_req(struct ipath_qp *qp) in ipath_make_uc_req()
241 int has_grh, void *data, u32 tlen, struct ipath_qp *qp) in ipath_uc_rcv()
/linux-3.3/drivers/infiniband/hw/qib/
Dqib_rc.c57 static void start_timer(struct qib_qp *qp) in start_timer()
77 static int qib_make_rc_ack(struct qib_ibdev *dev, struct qib_qp *qp, in qib_make_rc_ack()
231 int qib_make_rc_req(struct qib_qp *qp) in qib_make_rc_req()
648 void qib_send_rc_ack(struct qib_qp *qp) in qib_send_rc_ack()
783 static void reset_psn(struct qib_qp *qp, u32 psn) in reset_psn()
868 static void qib_restart_rc(struct qib_qp *qp, u32 psn, int wait) in qib_restart_rc()
905 struct qib_qp *qp = (struct qib_qp *)arg; in rc_timeout() local
928 struct qib_qp *qp = (struct qib_qp *)arg; in qib_rc_rnr_retry() local
944 static void reset_sending_psn(struct qib_qp *qp, u32 psn) in reset_sending_psn()
969 void qib_rc_send_complete(struct qib_qp *qp, struct qib_ib_header *hdr) in qib_rc_send_complete()
[all …]
Dqib_qp.c219 static void insert_qp(struct qib_ibdev *dev, struct qib_qp *qp) in insert_qp()
245 static void remove_qp(struct qib_ibdev *dev, struct qib_qp *qp) in remove_qp()
287 struct qib_qp *qp; in qib_free_all_qps() local
327 struct qib_qp *qp = NULL; in qib_lookup_qpn() local
357 static void qib_reset_qp(struct qib_qp *qp, enum ib_qp_type type) in qib_reset_qp()
404 static void clear_mr_refs(struct qib_qp *qp, int clr_sends) in clear_mr_refs()
469 int qib_error_qp(struct qib_qp *qp, enum ib_wc_status err) in qib_error_qp()
568 struct qib_qp *qp = to_iqp(ibqp); in qib_modify_qp() local
853 struct qib_qp *qp = to_iqp(ibqp); in qib_query_qp() local
906 __be32 qib_compute_aeth(struct qib_qp *qp) in qib_compute_aeth()
[all …]
Dqib_ruc.c81 static int qib_init_sge(struct qib_qp *qp, struct qib_rwqe *wqe) in qib_init_sge()
138 int qib_get_rwqe(struct qib_qp *qp, int wr_id_only) in qib_get_rwqe()
229 void qib_migrate_qp(struct qib_qp *qp) in qib_migrate_qp()
268 int has_grh, struct qib_qp *qp, u32 bth0) in qib_ruc_check_hdr()
358 struct qib_qp *qp; in qib_ruc_loopback() local
678 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr, in qib_make_ruc_header()
722 struct qib_qp *qp = container_of(work, struct qib_qp, s_work); in qib_do_send() local
773 void qib_send_complete(struct qib_qp *qp, struct qib_swqe *wqe, in qib_send_complete()
Dqib_verbs_mcast.c42 static struct qib_mcast_qp *qib_mcast_qp_alloc(struct qib_qp *qp) in qib_mcast_qp_alloc()
59 struct qib_qp *qp = mqp->qp; in qib_mcast_qp_free() local
227 struct qib_qp *qp = to_iqp(ibqp); in qib_multicast_attach() local
285 struct qib_qp *qp = to_iqp(ibqp); in qib_multicast_detach() local
Dqib_verbs.c336 static int qib_post_one_send(struct qib_qp *qp, struct ib_send_wr *wr) in qib_post_one_send()
458 struct qib_qp *qp = to_iqp(ibqp); in qib_post_send() local
487 struct qib_qp *qp = to_iqp(ibqp); in qib_post_receive() local
551 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_qp_rcv()
605 struct qib_qp *qp; in qib_ib_rcv() local
698 struct qib_qp *qp = NULL; in mem_timer() local
917 struct qib_qp *qp) in __get_txreq()
948 struct qib_qp *qp) in get_txreq()
972 struct qib_qp *qp; in qib_put_txreq() local
1025 struct qib_qp *qp, *nqp; in qib_verbs_sdma_desc_avail() local
[all …]
Dqib_ud.c53 struct qib_qp *qp; in qib_ud_loopback() local
232 int qib_make_ud_req(struct qib_qp *qp) in qib_make_ud_req()
426 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_ud_rcv()
Dqib_uc.c46 int qib_make_uc_req(struct qib_qp *qp) in qib_make_uc_req()
243 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_uc_rcv()
/linux-3.3/drivers/infiniband/hw/mlx4/
Dqp.c74 struct mlx4_ib_qp qp; member
108 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp()
114 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0()
120 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe()
125 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe()
130 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe()
144 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n, int size) in stamp_send_wqe()
174 static void post_nop_wqe(struct mlx4_ib_qp *qp, int n, int size) in post_nop_wqe()
212 static inline unsigned pad_wraparound(struct mlx4_ib_qp *qp, int ind) in pad_wraparound()
222 static void mlx4_ib_qp_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_qp_event()
[all …]
/linux-3.3/drivers/infiniband/hw/amso1100/
Dc2_qp.c120 void c2_set_qp_state(struct c2_qp *qp, int c2_state) in c2_set_qp_state()
134 int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_modify()
253 int c2_qp_set_read_limits(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_set_read_limits()
302 static int destroy_qp(struct c2_dev *c2dev, struct c2_qp *qp) in destroy_qp()
381 static int c2_alloc_qpn(struct c2_dev *c2dev, struct c2_qp *qp) in c2_alloc_qpn()
405 struct c2_qp *qp; in c2_find_qpn() local
415 struct ib_qp_init_attr *qp_attrs, struct c2_qp *qp) in c2_alloc_qp()
598 void c2_free_qp(struct c2_dev *c2dev, struct c2_qp *qp) in c2_free_qp()
760 static int qp_wr_post(struct c2_mq *q, union c2wr * wr, struct c2_qp *qp, u32 size) in qp_wr_post()
792 struct c2_qp *qp = to_c2qp(ibqp); in c2_post_send() local
[all …]
/linux-3.3/drivers/infiniband/hw/mthca/
Dmthca_qp.c195 static int is_sqp(struct mthca_dev *dev, struct mthca_qp *qp) in is_sqp()
201 static int is_qp0(struct mthca_dev *dev, struct mthca_qp *qp) in is_qp0()
207 static void *get_recv_wqe(struct mthca_qp *qp, int n) in get_recv_wqe()
216 static void *get_send_wqe(struct mthca_qp *qp, int n) in get_send_wqe()
240 struct mthca_qp *qp; in mthca_qp_event() local
326 static __be32 get_hw_access_flags(struct mthca_qp *qp, const struct ib_qp_attr *attr, in get_hw_access_flags()
427 struct mthca_qp *qp = to_mqp(ibqp); in mthca_query_qp() local
546 struct mthca_qp *qp = to_mqp(ibqp); in __mthca_modify_qp() local
844 struct mthca_qp *qp = to_mqp(ibqp); in mthca_modify_qp() local
908 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
[all …]
/linux-3.3/drivers/net/ethernet/mellanox/mlx4/
Dqp.c49 struct mlx4_qp *qp; in mlx4_qp_event() local
70 static int is_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp) in is_qp0()
80 int sqd_event, struct mlx4_qp *qp, int native) in __mlx4_qp_modify()
173 int sqd_event, struct mlx4_qp *qp) in mlx4_qp_modify()
329 int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp) in mlx4_qp_alloc()
363 void mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp) in mlx4_qp_remove()
374 void mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp) in mlx4_qp_free()
458 int mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_qp_query()
481 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready()
Dmcg.c52 __be32 qp[MLX4_MAX_QP_PER_MGM]; member
619 int mlx4_qp_attach_common(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_qp_attach_common()
729 int mlx4_qp_detach_common(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_qp_detach_common()
843 static int mlx4_QP_ATTACH(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_QP_ATTACH()
872 int mlx4_multicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_multicast_attach()
895 int mlx4_multicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_multicast_detach()
917 struct mlx4_qp *qp, u8 gid[16], in mlx4_unicast_attach()
936 int mlx4_unicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_unicast_detach()
/linux-3.3/drivers/infiniband/core/
Dverbs.c348 struct ib_qp *qp = context; in __ib_shared_qp_event_handler() local
354 static void __ib_insert_xrcd_qp(struct ib_xrcd *xrcd, struct ib_qp *qp) in __ib_insert_xrcd_qp()
365 struct ib_qp *qp; in __ib_open_qp() local
390 struct ib_qp *qp, *real_qp; in ib_open_qp() local
412 struct ib_qp *qp, *real_qp; in ib_create_qp() local
803 int ib_modify_qp(struct ib_qp *qp, in ib_modify_qp()
811 int ib_query_qp(struct ib_qp *qp, in ib_query_qp()
822 int ib_close_qp(struct ib_qp *qp) in ib_close_qp()
842 static int __ib_destroy_shared_qp(struct ib_qp *qp) in __ib_destroy_shared_qp()
870 int ib_destroy_qp(struct ib_qp *qp) in ib_destroy_qp()
[all …]
/linux-3.3/net/ipv4/
Dip_fragment.c151 struct ipq *qp; in ip4_frag_match() local
171 struct ipq *qp = container_of(q, struct ipq, q); in ip4_frag_init() local
186 struct ipq *qp; in ip4_frag_free() local
226 struct ipq *qp; in ip_expire() local
307 static inline int ip_frag_too_far(struct ipq *qp) in ip_frag_too_far()
334 static int ip_frag_reinit(struct ipq *qp) in ip_frag_reinit()
362 static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb) in ip_frag_queue()
537 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, in ip_frag_reasm()
656 struct ipq *qp; in ip_defrag() local
/linux-3.3/arch/ia64/kvm/
Dvcpu.h53 struct { unsigned long qp:6, r1:7, imm7b:7, r3:2, imm5c:5, member
59 struct { unsigned long qp:6, btype:3, un3:3, p:1, b2:3, un11:11, x6:6, member
65 struct { unsigned long qp:6, un21:21, x6:6, un4:4, major:4; }; member
70 struct { unsigned long qp:6, imm20:20, :1, x6:6, :3, i:1, major:4; }; member
75 struct { unsigned long qp:6, imm20:20, :1, x6:6, x3:3, i:1, major:4; }; member
80 struct { unsigned long qp:6, :7, r2:7, ar3:7, x6:6, x3:3, :1, major:4; }; member
85 struct { unsigned long qp:6, :7, imm:7, ar3:7, x6:6, x3:3, s:1, major:4; }; member
90 struct { unsigned long qp:6, r1:7, :7, ar3:7, x6:6, x3:3, :1, major:4; }; member
95 struct { unsigned long qp:6, :14, r3:7, x6:6, x3:3, :1, major:4; }; member
100 struct { unsigned long qp:6, :7, r2:7, ar3:7, x6:6, x3:3, :1, major:4; }; member
[all …]
/linux-3.3/drivers/infiniband/hw/ehca/
Dehca_cq.c55 int ehca_cq_assign_qp(struct ehca_cq *cq, struct ehca_qp *qp) in ehca_cq_assign_qp()
76 struct ehca_qp *qp; in ehca_cq_unassign_qp() local
105 struct ehca_qp *qp; in ehca_cq_get_qp() local
Dhipz_fns_core.h61 static inline void hipz_update_sqa(struct ehca_qp *qp, u16 nr_wqes) in hipz_update_sqa()
68 static inline void hipz_update_rqa(struct ehca_qp *qp, u16 nr_wqes) in hipz_update_rqa()
Dehca_reqs.c155 static inline int ehca_write_swqe(struct ehca_qp *qp, in ehca_write_swqe()
441 int ehca_post_send(struct ib_qp *qp, in ehca_post_send()
584 int ehca_post_recv(struct ib_qp *qp, in ehca_post_recv()
652 struct ehca_qp *qp; in ehca_poll_cq_one() local

12345