Lines Matching refs:mlx4_dev

43 int mlx4_get_mgm_entry_size(struct mlx4_dev *dev)  in mlx4_get_mgm_entry_size()
48 int mlx4_get_qp_per_mgm(struct mlx4_dev *dev) in mlx4_get_qp_per_mgm()
53 static int mlx4_QP_FLOW_STEERING_ATTACH(struct mlx4_dev *dev, in mlx4_QP_FLOW_STEERING_ATTACH()
71 static int mlx4_QP_FLOW_STEERING_DETACH(struct mlx4_dev *dev, u64 regid) in mlx4_QP_FLOW_STEERING_DETACH()
82 static int mlx4_READ_ENTRY(struct mlx4_dev *dev, int index, in mlx4_READ_ENTRY()
89 static int mlx4_WRITE_ENTRY(struct mlx4_dev *dev, int index, in mlx4_WRITE_ENTRY()
96 static int mlx4_WRITE_PROMISC(struct mlx4_dev *dev, u8 port, u8 steer, in mlx4_WRITE_PROMISC()
107 static int mlx4_GID_HASH(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_GID_HASH()
123 static struct mlx4_promisc_qp *get_promisc_qp(struct mlx4_dev *dev, u8 port, in get_promisc_qp()
147 static int new_steering_entry(struct mlx4_dev *dev, u8 port, in new_steering_entry()
239 static int existing_steering_entry(struct mlx4_dev *dev, u8 port, in existing_steering_entry()
288 static bool check_duplicate_entry(struct mlx4_dev *dev, u8 port, in check_duplicate_entry()
329 static bool promisc_steering_entry(struct mlx4_dev *dev, u8 port, in promisc_steering_entry()
368 static bool can_remove_steering_entry(struct mlx4_dev *dev, u8 port, in can_remove_steering_entry()
418 static int add_promisc_qp(struct mlx4_dev *dev, u8 port, in add_promisc_qp()
548 static int remove_promisc_qp(struct mlx4_dev *dev, u8 port, in remove_promisc_qp()
694 static int find_entry(struct mlx4_dev *dev, u8 port, in find_entry()
760 int mlx4_map_sw_to_hw_steering_mode(struct mlx4_dev *dev, in mlx4_map_sw_to_hw_steering_mode()
797 int mlx4_map_sw_to_hw_steering_id(struct mlx4_dev *dev, in mlx4_map_sw_to_hw_steering_id()
824 int mlx4_hw_rule_sz(struct mlx4_dev *dev, in mlx4_hw_rule_sz()
836 static int parse_trans_rule(struct mlx4_dev *dev, struct mlx4_spec_list *spec, in parse_trans_rule()
900 static void mlx4_err_rule(struct mlx4_dev *dev, char *str, in mlx4_err_rule()
977 int mlx4_flow_attach(struct mlx4_dev *dev, in mlx4_flow_attach()
1037 int mlx4_flow_detach(struct mlx4_dev *dev, u64 reg_id) in mlx4_flow_detach()
1049 int mlx4_tunnel_steer_add(struct mlx4_dev *dev, const unsigned char *addr, in mlx4_tunnel_steer_add()
1087 int mlx4_FLOW_STEERING_IB_UC_QP_RANGE(struct mlx4_dev *dev, u32 min_range_qpn, in mlx4_FLOW_STEERING_IB_UC_QP_RANGE()
1104 int mlx4_qp_attach_common(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_qp_attach_common()
1214 int mlx4_qp_detach_common(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_qp_detach_common()
1335 static int mlx4_QP_ATTACH(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_QP_ATTACH()
1367 int mlx4_trans_to_dmfs_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_trans_to_dmfs_attach()
1407 int mlx4_multicast_attach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_multicast_attach()
1438 int mlx4_multicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, u8 gid[16], in mlx4_multicast_detach()
1466 int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port, in mlx4_flow_steer_promisc_add()
1501 int mlx4_flow_steer_promisc_remove(struct mlx4_dev *dev, u8 port, in mlx4_flow_steer_promisc_remove()
1529 int mlx4_unicast_attach(struct mlx4_dev *dev, in mlx4_unicast_attach()
1545 int mlx4_unicast_detach(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_unicast_detach()
1558 int mlx4_PROMISC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_PROMISC_wrapper()
1581 static int mlx4_PROMISC(struct mlx4_dev *dev, u32 qpn, in mlx4_PROMISC()
1589 int mlx4_multicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port) in mlx4_multicast_promisc_add()
1598 int mlx4_multicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port) in mlx4_multicast_promisc_remove()
1607 int mlx4_unicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port) in mlx4_unicast_promisc_add()
1616 int mlx4_unicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port) in mlx4_unicast_promisc_remove()
1625 int mlx4_init_mcg_table(struct mlx4_dev *dev) in mlx4_init_mcg_table()
1644 void mlx4_cleanup_mcg_table(struct mlx4_dev *dev) in mlx4_cleanup_mcg_table()