mlx4_dev 200 include/linux/mlx4/cmd.h struct mlx4_dev; mlx4_dev 207 include/linux/mlx4/cmd.h int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, mlx4_dev 212 include/linux/mlx4/cmd.h static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, mlx4_dev 221 include/linux/mlx4/cmd.h static inline int mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, mlx4_dev 234 include/linux/mlx4/cmd.h static inline int mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, mlx4_dev 242 include/linux/mlx4/cmd.h struct mlx4_cmd_mailbox *mlx4_alloc_cmd_mailbox(struct mlx4_dev *dev); mlx4_dev 243 include/linux/mlx4/cmd.h void mlx4_free_cmd_mailbox(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox); mlx4_dev 246 include/linux/mlx4/cmd.h int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u64 mac); mlx4_dev 247 include/linux/mlx4/cmd.h int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan, u8 qos); mlx4_dev 248 include/linux/mlx4/cmd.h int mlx4_set_vf_spoofchk(struct mlx4_dev *dev, int port, int vf, bool setting); mlx4_dev 249 include/linux/mlx4/cmd.h int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf); mlx4_dev 250 include/linux/mlx4/cmd.h int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_state); mlx4_dev 256 include/linux/mlx4/cmd.h bool mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, mlx4_dev 173 include/linux/mlx4/cq.h int mlx4_cq_modify(struct mlx4_dev *dev, struct mlx4_cq *cq, mlx4_dev 175 include/linux/mlx4/cq.h int mlx4_cq_resize(struct mlx4_dev *dev, struct mlx4_cq *cq, mlx4_dev 819 include/linux/mlx4/device.h static inline int mlx4_master_func_num(struct mlx4_dev *dev) mlx4_dev 824 include/linux/mlx4/device.h static inline int mlx4_is_master(struct mlx4_dev *dev) mlx4_dev 829 include/linux/mlx4/device.h static inline int mlx4_num_reserved_sqps(struct mlx4_dev *dev) mlx4_dev 835 include/linux/mlx4/device.h static inline int mlx4_is_qp_reserved(struct mlx4_dev *dev, u32 qpn) mlx4_dev 841 include/linux/mlx4/device.h static inline int mlx4_is_guest_proxy(struct mlx4_dev *dev, int slave, u32 qpn) mlx4_dev 851 include/linux/mlx4/device.h static inline int mlx4_is_mfunc(struct mlx4_dev *dev) mlx4_dev 856 include/linux/mlx4/device.h static inline int mlx4_is_slave(struct mlx4_dev *dev) mlx4_dev 861 include/linux/mlx4/device.h int mlx4_buf_alloc(struct mlx4_dev *dev, int size, int max_direct, mlx4_dev 863 include/linux/mlx4/device.h void mlx4_buf_free(struct mlx4_dev *dev, int size, struct mlx4_buf *buf); mlx4_dev 873 include/linux/mlx4/device.h int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn); mlx4_dev 874 include/linux/mlx4/device.h void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn); mlx4_dev 875 include/linux/mlx4/device.h int mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn); mlx4_dev 876 include/linux/mlx4/device.h void mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn); mlx4_dev 878 include/linux/mlx4/device.h int mlx4_uar_alloc(struct mlx4_dev *dev, struct mlx4_uar *uar); mlx4_dev 879 include/linux/mlx4/device.h void mlx4_uar_free(struct mlx4_dev *dev, struct mlx4_uar *uar); mlx4_dev 880 include/linux/mlx4/device.h int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node); mlx4_dev 881 include/linux/mlx4/device.h void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf); mlx4_dev 883 include/linux/mlx4/device.h int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, mlx4_dev 885 include/linux/mlx4/device.h void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt); mlx4_dev 886 include/linux/mlx4/device.h u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt); mlx4_dev 888 include/linux/mlx4/device.h int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, mlx4_dev 890 include/linux/mlx4/device.h int mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr); mlx4_dev 891 include/linux/mlx4/device.h int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr); mlx4_dev 892 include/linux/mlx4/device.h int mlx4_mw_alloc(struct mlx4_dev *dev, u32 pd, enum mlx4_mw_type type, mlx4_dev 894 include/linux/mlx4/device.h void mlx4_mw_free(struct mlx4_dev *dev, struct mlx4_mw *mw); mlx4_dev 895 include/linux/mlx4/device.h int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw); mlx4_dev 896 include/linux/mlx4/device.h int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mlx4_dev 898 include/linux/mlx4/device.h int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mlx4_dev 901 include/linux/mlx4/device.h int mlx4_db_alloc(struct mlx4_dev *dev, struct mlx4_db *db, int order, mlx4_dev 903 include/linux/mlx4/device.h void mlx4_db_free(struct mlx4_dev *dev, struct mlx4_db *db); mlx4_dev 905 include/linux/mlx4/device.h int mlx4_alloc_hwq_res(struct mlx4_dev *dev, struct mlx4_hwq_resources *wqres, mlx4_dev 907 include/linux/mlx4/device.h void mlx4_free_hwq_res(struct mlx4_dev *mdev, struct mlx4_hwq_resources *wqres, mlx4_dev 910 include/linux/mlx4/device.h int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, mlx4_dev 913 include/linux/mlx4/device.h void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq); mlx4_dev 915 include/linux/mlx4/device.h int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, int *base); mlx4_dev 916 include/linux/mlx4/device.h void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt); mlx4_dev 918 include/linux/mlx4/device.h int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp, mlx4_dev 920 include/linux/mlx4/device.h void mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp); mlx4_dev 922 include/linux/mlx4/device.h int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcdn, mlx4_dev 924 include/linux/mlx4/device.h void mlx4_srq_free(struct mlx4_dev *dev, struct mlx4_srq *srq); mlx4_dev 925 include/linux/mlx4/device.h int mlx4_srq_arm(struct mlx4_dev *dev, struct mlx4_srq *srq, int limit_watermark); mlx4_dev 926 include/linux/mlx4/device.h int mlx4_srq_query(struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_watermark); mlx4_dev 928 include/linux/mlx4/device.h int mlx4_INIT_PORT(struct mlx4_dev *dev, int port); mlx4_dev 929 include/linux/mlx4/device.h int mlx4_CLOSE_PORT(struct mlx4_dev *dev, int port); mlx4_dev 931 include/linux/mlx4/device.h int mlx4_unicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], mlx4_dev 933 include/linux/mlx4/device.h int mlx4_unicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], mlx4_dev 935 include/linux/mlx4/device.h int mlx4_multicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], mlx4_dev 938 include/linux/mlx4/device.h int mlx4_multicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], mlx4_dev 1147 include/linux/mlx4/device.h int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port, u32 qpn, mlx4_dev 1149 include/linux/mlx4/device.h int mlx4_flow_steer_promisc_remove(struct mlx4_dev *dev, u8 port, mlx4_dev 1151 include/linux/mlx4/device.h int mlx4_multicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port); mlx4_dev 1152 include/linux/mlx4/device.h int mlx4_multicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port); mlx4_dev 1153 include/linux/mlx4/device.h int mlx4_unicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port); mlx4_dev 1154 include/linux/mlx4/device.h int mlx4_unicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port); mlx4_dev 1155 include/linux/mlx4/device.h int mlx4_SET_MCAST_FLTR(struct mlx4_dev *dev, u8 port, u64 mac, u64 clear, u8 mode); mlx4_dev 1157 include/linux/mlx4/device.h int mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac); mlx4_dev 1158 include/linux/mlx4/device.h void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac); mlx4_dev 1159 include/linux/mlx4/device.h int mlx4_get_base_qpn(struct mlx4_dev *dev, u8 port); mlx4_dev 1160 include/linux/mlx4/device.h int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac); mlx4_dev 1161 include/linux/mlx4/device.h void mlx4_set_stats_bitmap(struct mlx4_dev *dev, u64 *stats_bitmap); mlx4_dev 1162 include/linux/mlx4/device.h int mlx4_SET_PORT_general(struct mlx4_dev *dev, u8 port, int mtu, mlx4_dev 1164 include/linux/mlx4/device.h int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, mlx4_dev 1166 include/linux/mlx4/device.h int mlx4_SET_PORT_PRIO2TC(struct mlx4_dev *dev, u8 port, u8 *prio2tc); mlx4_dev 1167 include/linux/mlx4/device.h int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, mlx4_dev 1169 include/linux/mlx4/device.h int mlx4_SET_PORT_VXLAN(struct mlx4_dev *dev, u8 port, u8 steering, int enable); mlx4_dev 1170 include/linux/mlx4/device.h int mlx4_find_cached_mac(struct mlx4_dev *dev, u8 port, u64 mac, int *idx); mlx4_dev 1171 include/linux/mlx4/device.h int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx); mlx4_dev 1172 include/linux/mlx4/device.h int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index); mlx4_dev 1173 include/linux/mlx4/device.h void mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan); mlx4_dev 1175 include/linux/mlx4/device.h int mlx4_map_phys_fmr(struct mlx4_dev *dev, struct mlx4_fmr *fmr, u64 *page_list, mlx4_dev 1177 include/linux/mlx4/device.h int mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages, mlx4_dev 1179 include/linux/mlx4/device.h int mlx4_fmr_enable(struct mlx4_dev *dev, struct mlx4_fmr *fmr); mlx4_dev 1180 include/linux/mlx4/device.h void mlx4_fmr_unmap(struct mlx4_dev *dev, struct mlx4_fmr *fmr, mlx4_dev 1182 include/linux/mlx4/device.h int mlx4_fmr_free(struct mlx4_dev *dev, struct mlx4_fmr *fmr); mlx4_dev 1183 include/linux/mlx4/device.h int mlx4_SYNC_TPT(struct mlx4_dev *dev); mlx4_dev 1184 include/linux/mlx4/device.h int mlx4_test_interrupts(struct mlx4_dev *dev); mlx4_dev 1185 include/linux/mlx4/device.h int mlx4_assign_eq(struct mlx4_dev *dev, char *name, struct cpu_rmap *rmap, mlx4_dev 1187 include/linux/mlx4/device.h void mlx4_release_eq(struct mlx4_dev *dev, int vec); mlx4_dev 1189 include/linux/mlx4/device.h int mlx4_eq_get_irq(struct mlx4_dev *dev, int vec); mlx4_dev 1191 include/linux/mlx4/device.h int mlx4_get_phys_port_id(struct mlx4_dev *dev); mlx4_dev 1192 include/linux/mlx4/device.h int mlx4_wol_read(struct mlx4_dev *dev, u64 *config, int port); mlx4_dev 1193 include/linux/mlx4/device.h int mlx4_wol_write(struct mlx4_dev *dev, u64 config, int port); mlx4_dev 1195 include/linux/mlx4/device.h int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx); mlx4_dev 1196 include/linux/mlx4/device.h void mlx4_counter_free(struct mlx4_dev *dev, u32 idx); mlx4_dev 1198 include/linux/mlx4/device.h int mlx4_flow_attach(struct mlx4_dev *dev, mlx4_dev 1200 include/linux/mlx4/device.h int mlx4_flow_detach(struct mlx4_dev *dev, u64 reg_id); mlx4_dev 1201 include/linux/mlx4/device.h int mlx4_map_sw_to_hw_steering_mode(struct mlx4_dev *dev, mlx4_dev 1203 include/linux/mlx4/device.h int mlx4_map_sw_to_hw_steering_id(struct mlx4_dev *dev, mlx4_dev 1205 include/linux/mlx4/device.h int mlx4_hw_rule_sz(struct mlx4_dev *dev, enum mlx4_net_trans_rule_id id); mlx4_dev 1207 include/linux/mlx4/device.h int mlx4_tunnel_steer_add(struct mlx4_dev *dev, unsigned char *addr, mlx4_dev 1210 include/linux/mlx4/device.h void mlx4_sync_pkey_table(struct mlx4_dev *dev, int slave, int port, mlx4_dev 1213 include/linux/mlx4/device.h int mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey); mlx4_dev 1215 include/linux/mlx4/device.h int mlx4_is_slave_active(struct mlx4_dev *dev, int slave); mlx4_dev 1216 include/linux/mlx4/device.h int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port); mlx4_dev 1217 include/linux/mlx4/device.h int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port); mlx4_dev 1218 include/linux/mlx4/device.h int mlx4_gen_slaves_port_mgt_ev(struct mlx4_dev *dev, u8 port, int attr); mlx4_dev 1219 include/linux/mlx4/device.h int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change); mlx4_dev 1220 include/linux/mlx4/device.h enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port); mlx4_dev 1221 include/linux/mlx4/device.h int set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_port_gen_event *gen_event); mlx4_dev 1223 include/linux/mlx4/device.h void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid); mlx4_dev 1224 include/linux/mlx4/device.h __be64 mlx4_get_slave_node_guid(struct mlx4_dev *dev, int slave); mlx4_dev 1226 include/linux/mlx4/device.h int mlx4_get_slave_from_roce_gid(struct mlx4_dev *dev, int port, u8 *gid, mlx4_dev 1228 include/linux/mlx4/device.h int mlx4_get_roce_gid_from_slave(struct mlx4_dev *dev, int port, int slave_id, mlx4_dev 1231 include/linux/mlx4/device.h int mlx4_FLOW_STEERING_IB_UC_QP_RANGE(struct mlx4_dev *dev, u32 min_range_qpn, mlx4_dev 1234 include/linux/mlx4/device.h cycle_t mlx4_read_clock(struct mlx4_dev *dev); mlx4_dev 1240 include/linux/mlx4/device.h struct mlx4_active_ports mlx4_get_active_ports(struct mlx4_dev *dev, int slave); mlx4_dev 1245 include/linux/mlx4/device.h int mlx4_slave_convert_port(struct mlx4_dev *dev, int slave, int port); mlx4_dev 1251 include/linux/mlx4/device.h struct mlx4_slaves_pport mlx4_phys_to_slaves_pport(struct mlx4_dev *dev, mlx4_dev 1257 include/linux/mlx4/device.h struct mlx4_dev *dev, mlx4_dev 1261 include/linux/mlx4/device.h int mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port); mlx4_dev 1263 include/linux/mlx4/device.h int mlx4_get_base_gid_ix(struct mlx4_dev *dev, int slave, int port); mlx4_dev 1265 include/linux/mlx4/device.h int mlx4_config_vxlan_port(struct mlx4_dev *dev, __be16 udp_port); mlx4_dev 1266 include/linux/mlx4/device.h int mlx4_vf_smi_enabled(struct mlx4_dev *dev, int slave, int port); mlx4_dev 1267 include/linux/mlx4/device.h int mlx4_vf_get_enable_smi_admin(struct mlx4_dev *dev, int slave, int port); mlx4_dev 1268 include/linux/mlx4/device.h int mlx4_vf_set_enable_smi_admin(struct mlx4_dev *dev, int slave, int port, mlx4_dev 1270 include/linux/mlx4/device.h int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, mlx4_dev 1272 include/linux/mlx4/device.h int mlx4_mr_hw_write_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, mlx4_dev 1274 include/linux/mlx4/device.h int mlx4_mr_hw_change_pd(struct mlx4_dev *dev, struct mlx4_mpt_entry *mpt_entry, mlx4_dev 1276 include/linux/mlx4/device.h int mlx4_mr_hw_change_access(struct mlx4_dev *dev, mlx4_dev 1279 include/linux/mlx4/device.h void mlx4_mr_hw_put_mpt(struct mlx4_dev *dev, mlx4_dev 1281 include/linux/mlx4/device.h void mlx4_mr_rereg_mem_cleanup(struct mlx4_dev *dev, struct mlx4_mr *mr); mlx4_dev 1282 include/linux/mlx4/device.h int mlx4_mr_rereg_mem_write(struct mlx4_dev *dev, struct mlx4_mr *mr, mlx4_dev 38 include/linux/mlx4/driver.h struct mlx4_dev; mlx4_dev 53 include/linux/mlx4/driver.h void * (*add) (struct mlx4_dev *dev); mlx4_dev 54 include/linux/mlx4/driver.h void (*remove)(struct mlx4_dev *dev, void *context); mlx4_dev 55 include/linux/mlx4/driver.h void (*event) (struct mlx4_dev *dev, void *context, mlx4_dev 57 include/linux/mlx4/driver.h void * (*get_dev)(struct mlx4_dev *dev, void *context, u8 port); mlx4_dev 65 include/linux/mlx4/driver.h void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto, int port); mlx4_dev 440 include/linux/mlx4/qp.h int mlx4_update_qp(struct mlx4_dev *dev, u32 qpn, mlx4_dev 443 include/linux/mlx4/qp.h int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mlx4_dev 448 include/linux/mlx4/qp.h int mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp, mlx4_dev 451 include/linux/mlx4/qp.h int mlx4_qp_to_ready(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mlx4_dev 455 include/linux/mlx4/qp.h static inline struct mlx4_qp *__mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn) mlx4_dev 460 include/linux/mlx4/qp.h void mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp); mlx4_dev 42 include/linux/mlx4/srq.h struct mlx4_srq *mlx4_srq_lookup(struct mlx4_dev *dev, u32 srqn);