.. | .. |
---|
477 | 477 | u32 access, struct mthca_mr *mr); |
---|
478 | 478 | void mthca_free_mr(struct mthca_dev *dev, struct mthca_mr *mr); |
---|
479 | 479 | |
---|
480 | | -int mthca_fmr_alloc(struct mthca_dev *dev, u32 pd, |
---|
481 | | - u32 access, struct mthca_fmr *fmr); |
---|
482 | | -int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, |
---|
483 | | - int list_len, u64 iova); |
---|
484 | | -void mthca_tavor_fmr_unmap(struct mthca_dev *dev, struct mthca_fmr *fmr); |
---|
485 | | -int mthca_arbel_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, |
---|
486 | | - int list_len, u64 iova); |
---|
487 | | -void mthca_arbel_fmr_unmap(struct mthca_dev *dev, struct mthca_fmr *fmr); |
---|
488 | | -int mthca_free_fmr(struct mthca_dev *dev, struct mthca_fmr *fmr); |
---|
489 | | - |
---|
490 | 480 | int mthca_map_eq_icm(struct mthca_dev *dev, u64 icm_virt); |
---|
491 | 481 | void mthca_unmap_eq_icm(struct mthca_dev *dev); |
---|
492 | 482 | |
---|
.. | .. |
---|
509 | 499 | void mthca_free_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int cqe); |
---|
510 | 500 | |
---|
511 | 501 | int mthca_alloc_srq(struct mthca_dev *dev, struct mthca_pd *pd, |
---|
512 | | - struct ib_srq_attr *attr, struct mthca_srq *srq); |
---|
| 502 | + struct ib_srq_attr *attr, struct mthca_srq *srq, |
---|
| 503 | + struct ib_udata *udata); |
---|
513 | 504 | void mthca_free_srq(struct mthca_dev *dev, struct mthca_srq *srq); |
---|
514 | 505 | int mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, |
---|
515 | 506 | enum ib_srq_attr_mask attr_mask, struct ib_udata *udata); |
---|
.. | .. |
---|
546 | 537 | enum ib_qp_type type, |
---|
547 | 538 | enum ib_sig_type send_policy, |
---|
548 | 539 | struct ib_qp_cap *cap, |
---|
549 | | - struct mthca_qp *qp); |
---|
| 540 | + struct mthca_qp *qp, |
---|
| 541 | + struct ib_udata *udata); |
---|
550 | 542 | int mthca_alloc_sqp(struct mthca_dev *dev, |
---|
551 | 543 | struct mthca_pd *pd, |
---|
552 | 544 | struct mthca_cq *send_cq, |
---|
.. | .. |
---|
555 | 547 | struct ib_qp_cap *cap, |
---|
556 | 548 | int qpn, |
---|
557 | 549 | int port, |
---|
558 | | - struct mthca_sqp *sqp); |
---|
| 550 | + struct mthca_qp *qp, |
---|
| 551 | + struct ib_udata *udata); |
---|
559 | 552 | void mthca_free_qp(struct mthca_dev *dev, struct mthca_qp *qp); |
---|
560 | 553 | int mthca_create_ah(struct mthca_dev *dev, |
---|
561 | 554 | struct mthca_pd *pd, |
---|
.. | .. |
---|
572 | 565 | int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid); |
---|
573 | 566 | int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid); |
---|
574 | 567 | |
---|
575 | | -int mthca_process_mad(struct ib_device *ibdev, |
---|
576 | | - int mad_flags, |
---|
577 | | - u8 port_num, |
---|
578 | | - const struct ib_wc *in_wc, |
---|
579 | | - const struct ib_grh *in_grh, |
---|
580 | | - const struct ib_mad_hdr *in, size_t in_mad_size, |
---|
581 | | - struct ib_mad_hdr *out, size_t *out_mad_size, |
---|
582 | | - u16 *out_mad_pkey_index); |
---|
| 568 | +int mthca_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, |
---|
| 569 | + const struct ib_wc *in_wc, const struct ib_grh *in_grh, |
---|
| 570 | + const struct ib_mad *in, struct ib_mad *out, |
---|
| 571 | + size_t *out_mad_size, u16 *out_mad_pkey_index); |
---|
583 | 572 | int mthca_create_agents(struct mthca_dev *dev); |
---|
584 | 573 | void mthca_free_agents(struct mthca_dev *dev); |
---|
585 | 574 | |
---|