Lines Matching defs:qed_rdma_ops

581 struct qed_rdma_ops {  struct
582 const struct qed_common_ops *common;
584 int (*fill_dev_info)(struct qed_dev *cdev,
586 void *(*rdma_get_rdma_ctx)(struct qed_dev *cdev);
588 int (*rdma_init)(struct qed_dev *dev,
591 int (*rdma_add_user)(void *rdma_cxt,
594 void (*rdma_remove_user)(void *rdma_cxt, u16 dpi);
595 int (*rdma_stop)(void *rdma_cxt);
596 struct qed_rdma_device* (*rdma_query_device)(void *rdma_cxt);
597 struct qed_rdma_port* (*rdma_query_port)(void *rdma_cxt);
598 int (*rdma_get_start_sb)(struct qed_dev *cdev);
599 int (*rdma_get_min_cnq_msix)(struct qed_dev *cdev);
600 void (*rdma_cnq_prod_update)(void *rdma_cxt, u8 cnq_index, u16 prod);
601 int (*rdma_get_rdma_int)(struct qed_dev *cdev,
603 int (*rdma_set_rdma_int)(struct qed_dev *cdev, u16 cnt);
604 int (*rdma_alloc_pd)(void *rdma_cxt, u16 *pd);
605 void (*rdma_dealloc_pd)(void *rdma_cxt, u16 pd);
606 int (*rdma_alloc_xrcd)(void *rdma_cxt, u16 *xrcd);
607 void (*rdma_dealloc_xrcd)(void *rdma_cxt, u16 xrcd);
608 int (*rdma_create_cq)(void *rdma_cxt,
611 int (*rdma_destroy_cq)(void *rdma_cxt,
615 (*rdma_create_qp)(void *rdma_cxt,
619 int (*rdma_modify_qp)(void *roce_cxt, struct qed_rdma_qp *qp,
622 int (*rdma_query_qp)(void *rdma_cxt, struct qed_rdma_qp *qp,
624 int (*rdma_destroy_qp)(void *rdma_cxt, struct qed_rdma_qp *qp);
627 (*rdma_register_tid)(void *rdma_cxt,
630 int (*rdma_deregister_tid)(void *rdma_cxt, u32 itid);
631 int (*rdma_alloc_tid)(void *rdma_cxt, u32 *itid);
632 void (*rdma_free_tid)(void *rdma_cxt, u32 itid);
634 int (*rdma_create_srq)(void *rdma_cxt,
637 int (*rdma_destroy_srq)(void *rdma_cxt,
639 int (*rdma_modify_srq)(void *rdma_cxt,
642 int (*ll2_acquire_connection)(void *rdma_cxt,
645 int (*ll2_establish_connection)(void *rdma_cxt, u8 connection_handle);
646 int (*ll2_terminate_connection)(void *rdma_cxt, u8 connection_handle);
647 void (*ll2_release_connection)(void *rdma_cxt, u8 connection_handle);
649 int (*ll2_prepare_tx_packet)(void *rdma_cxt,
654 int (*ll2_set_fragment_of_tx_packet)(void *rdma_cxt,
658 int (*ll2_post_rx_buffer)(void *rdma_cxt, u8 connection_handle,
661 int (*ll2_get_stats)(void *rdma_cxt,
664 int (*ll2_set_mac_filter)(struct qed_dev *cdev,
690 const struct qed_rdma_ops *qed_get_rdma_ops(void); argument