|
enum | { MLX4_IB_SQ_MIN_WQE_SHIFT = 6,
MLX4_IB_MAX_HEADROOM = 2048
} |
|
enum | mlx4_ib_qp_flags { MLX4_IB_QP_LSO = IB_QP_CREATE_IPOIB_UD_LSO,
MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK = IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK,
MLX4_IB_SRIOV_TUNNEL_QP = 1 << 30,
MLX4_IB_SRIOV_SQP = 1 << 31
} |
|
enum | mlx4_ib_qp_type {
MLX4_IB_QPT_SMI = IB_QPT_SMI,
MLX4_IB_QPT_GSI = IB_QPT_GSI,
MLX4_IB_QPT_RC = IB_QPT_RC,
MLX4_IB_QPT_UC = IB_QPT_UC,
MLX4_IB_QPT_UD = IB_QPT_UD,
MLX4_IB_QPT_RAW_IPV6 = IB_QPT_RAW_IPV6,
MLX4_IB_QPT_RAW_ETHERTYPE = IB_QPT_RAW_ETHERTYPE,
MLX4_IB_QPT_RAW_PACKET = IB_QPT_RAW_PACKET,
MLX4_IB_QPT_XRC_INI = IB_QPT_XRC_INI,
MLX4_IB_QPT_XRC_TGT = IB_QPT_XRC_TGT,
MLX4_IB_QPT_PROXY_SMI_OWNER = 1 << 16,
MLX4_IB_QPT_PROXY_SMI = 1 << 17,
MLX4_IB_QPT_PROXY_GSI = 1 << 18,
MLX4_IB_QPT_TUN_SMI_OWNER = 1 << 19,
MLX4_IB_QPT_TUN_SMI = 1 << 20,
MLX4_IB_QPT_TUN_GSI = 1 << 21
} |
|
enum | mlx4_ib_mad_ifc_flags { MLX4_MAD_IFC_IGNORE_MKEY = 1,
MLX4_MAD_IFC_IGNORE_BKEY = 2,
MLX4_MAD_IFC_IGNORE_KEYS,
MLX4_MAD_IFC_NET_VIEW = 4
} |
|
enum | { MLX4_NUM_TUNNEL_BUFS = 256
} |
|
enum | mlx4_guid_alias_rec_status { MLX4_GUID_INFO_STATUS_IDLE,
MLX4_GUID_INFO_STATUS_SET,
MLX4_GUID_INFO_STATUS_PENDING
} |
|
enum | mlx4_guid_alias_rec_ownership { MLX4_GUID_DRIVER_ASSIGN,
MLX4_GUID_SYSADMIN_ASSIGN,
MLX4_GUID_NONE_ASSIGN
} |
|
enum | mlx4_guid_alias_rec_method { MLX4_GUID_INFO_RECORD_SET = IB_MGMT_METHOD_SET,
MLX4_GUID_INFO_RECORD_DELETE = IB_SA_METHOD_DELETE
} |
|
enum | mlx4_ib_demux_pv_state { DEMUX_PV_STATE_DOWN,
DEMUX_PV_STATE_STARTING,
DEMUX_PV_STATE_ACTIVE,
DEMUX_PV_STATE_DOWNING
} |
|
|
int | mlx4_ib_init_sriov (struct mlx4_ib_dev *dev) |
|
void | mlx4_ib_close_sriov (struct mlx4_ib_dev *dev) |
|
int | mlx4_ib_db_map_user (struct mlx4_ib_ucontext *context, unsigned long virt, struct mlx4_db *db) |
|
void | mlx4_ib_db_unmap_user (struct mlx4_ib_ucontext *context, struct mlx4_db *db) |
|
struct ib_mr * | mlx4_ib_get_dma_mr (struct ib_pd *pd, int acc) |
|
int | mlx4_ib_umem_write_mtt (struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, struct ib_umem *umem) |
|
struct ib_mr * | mlx4_ib_reg_user_mr (struct ib_pd *pd, u64 start, u64 length, u64 virt_addr, int access_flags, struct ib_udata *udata) |
|
int | mlx4_ib_dereg_mr (struct ib_mr *mr) |
|
struct ib_mr * | mlx4_ib_alloc_fast_reg_mr (struct ib_pd *pd, int max_page_list_len) |
|
struct ib_fast_reg_page_list * | mlx4_ib_alloc_fast_reg_page_list (struct ib_device *ibdev, int page_list_len) |
|
void | mlx4_ib_free_fast_reg_page_list (struct ib_fast_reg_page_list *page_list) |
|
int | mlx4_ib_modify_cq (struct ib_cq *cq, u16 cq_count, u16 cq_period) |
|
int | mlx4_ib_resize_cq (struct ib_cq *ibcq, int entries, struct ib_udata *udata) |
|
struct ib_cq * | mlx4_ib_create_cq (struct ib_device *ibdev, int entries, int vector, struct ib_ucontext *context, struct ib_udata *udata) |
|
int | mlx4_ib_destroy_cq (struct ib_cq *cq) |
|
int | mlx4_ib_poll_cq (struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) |
|
int | mlx4_ib_arm_cq (struct ib_cq *cq, enum ib_cq_notify_flags flags) |
|
void | __mlx4_ib_cq_clean (struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) |
|
void | mlx4_ib_cq_clean (struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) |
|
struct ib_ah * | mlx4_ib_create_ah (struct ib_pd *pd, struct ib_ah_attr *ah_attr) |
|
int | mlx4_ib_query_ah (struct ib_ah *ibah, struct ib_ah_attr *ah_attr) |
|
int | mlx4_ib_destroy_ah (struct ib_ah *ah) |
|
struct ib_srq * | mlx4_ib_create_srq (struct ib_pd *pd, struct ib_srq_init_attr *init_attr, struct ib_udata *udata) |
|
int | mlx4_ib_modify_srq (struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) |
|
int | mlx4_ib_query_srq (struct ib_srq *srq, struct ib_srq_attr *srq_attr) |
|
int | mlx4_ib_destroy_srq (struct ib_srq *srq) |
|
void | mlx4_ib_free_srq_wqe (struct mlx4_ib_srq *srq, int wqe_index) |
|
int | mlx4_ib_post_srq_recv (struct ib_srq *ibsrq, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) |
|
struct ib_qp * | mlx4_ib_create_qp (struct ib_pd *pd, struct ib_qp_init_attr *init_attr, struct ib_udata *udata) |
|
int | mlx4_ib_destroy_qp (struct ib_qp *qp) |
|
int | mlx4_ib_modify_qp (struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) |
|
int | mlx4_ib_query_qp (struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) |
|
int | mlx4_ib_post_send (struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr) |
|
int | mlx4_ib_post_recv (struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr) |
|
int | mlx4_MAD_IFC (struct mlx4_ib_dev *dev, int mad_ifc_flags, int port, struct ib_wc *in_wc, struct ib_grh *in_grh, void *in_mad, void *response_mad) |
|
int | mlx4_ib_process_mad (struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad) |
|
int | mlx4_ib_mad_init (struct mlx4_ib_dev *dev) |
|
void | mlx4_ib_mad_cleanup (struct mlx4_ib_dev *dev) |
|
struct ib_fmr * | mlx4_ib_fmr_alloc (struct ib_pd *pd, int mr_access_flags, struct ib_fmr_attr *fmr_attr) |
|
int | mlx4_ib_map_phys_fmr (struct ib_fmr *ibfmr, u64 *page_list, int npages, u64 iova) |
|
int | mlx4_ib_unmap_fmr (struct list_head *fmr_list) |
|
int | mlx4_ib_fmr_dealloc (struct ib_fmr *fmr) |
|
int | __mlx4_ib_query_port (struct ib_device *ibdev, u8 port, struct ib_port_attr *props, int netw_view) |
|
int | __mlx4_ib_query_pkey (struct ib_device *ibdev, u8 port, u16 index, u16 *pkey, int netw_view) |
|
int | __mlx4_ib_query_gid (struct ib_device *ibdev, u8 port, int index, union ib_gid *gid, int netw_view) |
|
int | mlx4_ib_resolve_grh (struct mlx4_ib_dev *dev, const struct ib_ah_attr *ah_attr, u8 *mac, int *is_mcast, u8 port) |
|
int | mlx4_ib_mcg_port_init (struct mlx4_ib_demux_ctx *ctx) |
|
void | mlx4_ib_mcg_port_cleanup (struct mlx4_ib_demux_ctx *ctx, int destroy_wq) |
|
void | clean_vf_mcast (struct mlx4_ib_demux_ctx *ctx, int slave) |
|
int | mlx4_ib_mcg_init (void) |
|
void | mlx4_ib_mcg_destroy (void) |
|
int | mlx4_ib_find_real_gid (struct ib_device *ibdev, u8 port, __be64 guid) |
|
int | mlx4_ib_mcg_multiplex_handler (struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) |
|
int | mlx4_ib_mcg_demux_handler (struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *mad) |
|
int | mlx4_ib_add_mc (struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, union ib_gid *gid) |
|
void | mlx4_ib_dispatch_event (struct mlx4_ib_dev *dev, u8 port_num, enum ib_event_type type) |
|
void | mlx4_ib_tunnels_update_work (struct work_struct *work) |
|
int | mlx4_ib_send_to_slave (struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type qpt, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) |
|
int | mlx4_ib_send_to_wire (struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct ib_ah_attr *attr, struct ib_mad *mad) |
|
__be64 | mlx4_ib_get_new_demux_tid (struct mlx4_ib_demux_ctx *ctx) |
|
int | mlx4_ib_demux_cm_handler (struct ib_device *ibdev, int port, int *slave, struct ib_mad *mad) |
|
int | mlx4_ib_multiplex_cm_handler (struct ib_device *ibdev, int port, int slave_id, struct ib_mad *mad) |
|
void | mlx4_ib_cm_paravirt_init (struct mlx4_ib_dev *dev) |
|
void | mlx4_ib_cm_paravirt_clean (struct mlx4_ib_dev *dev, int slave_id) |
|
void | mlx4_ib_init_alias_guid_work (struct mlx4_ib_dev *dev, int port) |
|
int | mlx4_ib_init_alias_guid_service (struct mlx4_ib_dev *dev) |
|
void | mlx4_ib_destroy_alias_guid_service (struct mlx4_ib_dev *dev) |
|
void | mlx4_ib_invalidate_all_guid_record (struct mlx4_ib_dev *dev, int port) |
|
void | mlx4_ib_notify_slaves_on_guid_change (struct mlx4_ib_dev *dev, int block_num, u8 port_num, u8 *p_data) |
|
void | mlx4_ib_update_cache_on_guid_change (struct mlx4_ib_dev *dev, int block_num, u8 port_num, u8 *p_data) |
|
int | add_sysfs_port_mcg_attr (struct mlx4_ib_dev *device, int port_num, struct attribute *attr) |
|
void | del_sysfs_port_mcg_attr (struct mlx4_ib_dev *device, int port_num, struct attribute *attr) |
|
ib_sa_comp_mask | mlx4_ib_get_aguid_comp_mask_from_ix (int index) |
|
int | mlx4_ib_device_register_sysfs (struct mlx4_ib_dev *device) |
|
void | mlx4_ib_device_unregister_sysfs (struct mlx4_ib_dev *device) |
|
__be64 | mlx4_ib_gen_node_guid (void) |
|