Lines Matching defs:slave

296 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave,  in mlx4_grant_resource()
367 static inline void mlx4_release_resource(struct mlx4_dev *dev, int slave, in mlx4_release_resource()
648 static void update_pkey_index(struct mlx4_dev *dev, int slave, in update_pkey_index()
664 u8 slave) in update_gid()
705 u8 slave, u32 qpn) in update_vport_qp_param()
792 static int get_res(struct mlx4_dev *dev, int slave, u64 res_id, in get_res()
829 u64 res_id, int *slave) in mlx4_get_slave_from_resource_id()
850 static void put_res(struct mlx4_dev *dev, int slave, u64 res_id, in put_res()
997 static struct res_common *alloc_tr(u64 id, enum mlx4_resource type, int slave, in alloc_tr()
1042 static int add_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, in add_res_range()
1227 static int rem_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, in rem_res_range()
1266 static int qp_res_start_move_to(struct mlx4_dev *dev, int slave, int qpn, in qp_res_start_move_to()
1331 static int mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in mr_res_start_move_to()
1384 static int eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in eq_res_start_move_to()
1432 static int cq_res_start_move_to(struct mlx4_dev *dev, int slave, int cqn, in cq_res_start_move_to()
1472 static int srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in srq_res_start_move_to()
1508 static void res_abort_move(struct mlx4_dev *dev, int slave, in res_abort_move()
1522 static void res_end_move(struct mlx4_dev *dev, int slave, in res_end_move()
1536 static int valid_reserved(struct mlx4_dev *dev, int slave, int qpn) in valid_reserved()
1547 static int qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in qp_alloc_res()
1614 static int mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mtt_alloc_res()
1647 static int mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mpt_alloc_res()
1696 static int cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in cq_alloc_res()
1731 static int srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in srq_alloc_res()
1766 static int mac_find_smac_ix_in_slave(struct mlx4_dev *dev, int slave, int port, in mac_find_smac_ix_in_slave()
1784 static int mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port, u8 smac_index) in mac_add_to_slave()
1816 static void mac_del_from_slave(struct mlx4_dev *dev, int slave, u64 mac, in mac_del_from_slave()
1837 static void rem_slave_macs(struct mlx4_dev *dev, int slave) in rem_slave_macs()
1856 static int mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mac_alloc_res()
1890 static int vlan_add_to_slave(struct mlx4_dev *dev, int slave, u16 vlan, in vlan_add_to_slave()
1924 static void vlan_del_from_slave(struct mlx4_dev *dev, int slave, u16 vlan, in vlan_del_from_slave()
1946 static void rem_slave_vlans(struct mlx4_dev *dev, int slave) in rem_slave_vlans()
1965 static int vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in vlan_alloc_res()
2003 static int counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in counter_alloc_res()
2033 static int xrcdn_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in xrcdn_alloc_res()
2055 int mlx4_ALLOC_RES_wrapper(struct mlx4_dev *dev, int slave, in mlx4_ALLOC_RES_wrapper()
2120 static int qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in qp_free_res()
2160 static int mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mtt_free_res()
2180 static int mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mpt_free_res()
2223 static int cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in cq_free_res()
2248 static int srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in srq_free_res()
2273 static int mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mac_free_res()
2299 static int vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in vlan_free_res()
2328 static int counter_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in counter_free_res()
2348 static int xrcdn_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in xrcdn_free_res()
2367 int mlx4_FREE_RES_wrapper(struct mlx4_dev *dev, int slave, in mlx4_FREE_RES_wrapper()
2502 static int check_mtt_range(struct mlx4_dev *dev, int slave, int start, in check_mtt_range()
2513 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_MPT_wrapper()
2596 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_MPT_wrapper()
2628 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_MPT_wrapper()
2706 int mlx4_RST2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_RST2INIT_QP_wrapper()
2840 int mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_EQ_wrapper()
2889 int mlx4_CONFIG_DEV_wrapper(struct mlx4_dev *dev, int slave, in mlx4_CONFIG_DEV_wrapper()
2906 static int get_containing_mtt(struct mlx4_dev *dev, int slave, int start, in get_containing_mtt()
2933 enum qp_transition transition, u8 slave) in verify_qp_parameters()
3009 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_WRITE_MTT_wrapper()
3047 int mlx4_HW2SW_EQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_EQ_wrapper()
3085 int mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) in mlx4_GEN_EQE()
3153 int mlx4_QUERY_EQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_EQ_wrapper()
3180 int mlx4_SW2HW_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_CQ_wrapper()
3218 int mlx4_HW2SW_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_CQ_wrapper()
3243 int mlx4_QUERY_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_CQ_wrapper()
3267 static int handle_resize(struct mlx4_dev *dev, int slave, in handle_resize()
3315 int mlx4_MODIFY_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MODIFY_CQ_wrapper()
3356 int mlx4_SW2HW_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_SRQ_wrapper()
3401 int mlx4_HW2SW_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_SRQ_wrapper()
3430 int mlx4_QUERY_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_SRQ_wrapper()
3453 int mlx4_ARM_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_ARM_SRQ_wrapper()
3478 int mlx4_GEN_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_GEN_QP_wrapper()
3502 int mlx4_INIT2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_INIT2INIT_QP_wrapper()
3514 static int adjust_qp_sched_queue(struct mlx4_dev *dev, int slave, in adjust_qp_sched_queue()
3547 static int roce_verify_mac(struct mlx4_dev *dev, int slave, in roce_verify_mac()
3566 int mlx4_INIT2RTR_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_INIT2RTR_QP_wrapper()
3629 int mlx4_RTR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_RTR2RTS_QP_wrapper()
3651 int mlx4_RTS2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_RTS2RTS_QP_wrapper()
3674 int mlx4_SQERR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SQERR2RTS_QP_wrapper()
3688 int mlx4_SQD2SQD_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SQD2SQD_QP_wrapper()
3710 int mlx4_SQD2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SQD2RTS_QP_wrapper()
3732 int mlx4_2RST_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_2RST_QP_wrapper()
3763 static struct res_gid *find_gid(struct mlx4_dev *dev, int slave, in find_gid()
3775 static int add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in add_mcg_res()
3803 static int rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in rem_mcg_res()
3825 static int qp_attach(struct mlx4_dev *dev, int slave, struct mlx4_qp *qp, in qp_attach()
3866 static int mlx4_adjust_port(struct mlx4_dev *dev, int slave, in mlx4_adjust_port()
3885 int mlx4_QP_ATTACH_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QP_ATTACH_wrapper()
3947 static int validate_eth_header_mac(int slave, struct _rule_hw *eth_header, in validate_eth_header_mac()
3972 static int add_eth_header(struct mlx4_dev *dev, int slave, in add_eth_header()
4029 int mlx4_UPDATE_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_UPDATE_QP_wrapper()
4086 int mlx4_QP_FLOW_STEERING_ATTACH_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4168 int mlx4_QP_FLOW_STEERING_DETACH_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QP_FLOW_STEERING_DETACH_wrapper()
4211 int mlx4_QUERY_IF_STAT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_IF_STAT_wrapper()
4229 static void detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) in detach_qp()
4251 static int _move_all_busy(struct mlx4_dev *dev, int slave, in _move_all_busy()
4287 static int move_all_busy(struct mlx4_dev *dev, int slave, in move_all_busy()
4307 static void rem_slave_qps(struct mlx4_dev *dev, int slave) in rem_slave_qps()
4380 static void rem_slave_srqs(struct mlx4_dev *dev, int slave) in rem_slave_srqs()
4446 static void rem_slave_cqs(struct mlx4_dev *dev, int slave) in rem_slave_cqs()
4509 static void rem_slave_mrs(struct mlx4_dev *dev, int slave) in rem_slave_mrs()
4577 static void rem_slave_mtts(struct mlx4_dev *dev, int slave) in rem_slave_mtts()
4628 static void rem_slave_fs_rule(struct mlx4_dev *dev, int slave) in rem_slave_fs_rule()
4680 static void rem_slave_eqs(struct mlx4_dev *dev, int slave) in rem_slave_eqs()
4738 static void rem_slave_counters(struct mlx4_dev *dev, int slave) in rem_slave_counters()
4769 static void rem_slave_xrcdns(struct mlx4_dev *dev, int slave) in rem_slave_xrcdns()
4798 void mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) in mlx4_delete_all_resources_for_slave()