Lines Matching defs:slave
271 struct mlx4_qp_context *qp_ctx, u8 slave) in update_ud_gid()
296 static int get_res(struct mlx4_dev *dev, int slave, int res_id, in get_res()
335 int res_id, int *slave) in mlx4_get_slave_from_resource_id()
356 static void put_res(struct mlx4_dev *dev, int slave, int res_id, in put_res()
474 static struct res_common *alloc_tr(int id, enum mlx4_resource type, int slave, in alloc_tr()
514 static int add_res_range(struct mlx4_dev *dev, int slave, int base, int count, in add_res_range()
671 static int rem_res_range(struct mlx4_dev *dev, int slave, int base, int count, in rem_res_range()
710 static int qp_res_start_move_to(struct mlx4_dev *dev, int slave, int qpn, in qp_res_start_move_to()
775 static int mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in mr_res_start_move_to()
828 static int eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in eq_res_start_move_to()
876 static int cq_res_start_move_to(struct mlx4_dev *dev, int slave, int cqn, in cq_res_start_move_to()
930 static int srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in srq_res_start_move_to()
980 static void res_abort_move(struct mlx4_dev *dev, int slave, in res_abort_move()
994 static void res_end_move(struct mlx4_dev *dev, int slave, in res_end_move()
1008 static int valid_reserved(struct mlx4_dev *dev, int slave, int qpn) in valid_reserved()
1013 static int qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in qp_alloc_res()
1068 static int mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mtt_alloc_res()
1092 static int mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mpt_alloc_res()
1134 static int cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in cq_alloc_res()
1162 static int srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in srq_alloc_res()
1190 static int mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port) in mac_add_to_slave()
1206 static void mac_del_from_slave(struct mlx4_dev *dev, int slave, u64 mac, in mac_del_from_slave()
1224 static void rem_slave_macs(struct mlx4_dev *dev, int slave) in rem_slave_macs()
1239 static int mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mac_alloc_res()
1266 static int vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, in vlan_alloc_res()
1272 int mlx4_ALLOC_RES_wrapper(struct mlx4_dev *dev, int slave, in mlx4_ALLOC_RES_wrapper()
1325 static int qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in qp_free_res()
1364 static int mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mtt_free_res()
1382 static int mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mpt_free_res()
1424 static int cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in cq_free_res()
1448 static int srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in srq_free_res()
1472 static int mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in mac_free_res()
1493 static int vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, in vlan_free_res()
1499 int mlx4_FREE_RES_wrapper(struct mlx4_dev *dev, int slave, in mlx4_FREE_RES_wrapper()
1602 static int check_mtt_range(struct mlx4_dev *dev, int slave, int start, in check_mtt_range()
1613 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_MPT_wrapper()
1667 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_MPT_wrapper()
1699 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_MPT_wrapper()
1742 int mlx4_RST2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_RST2INIT_QP_wrapper()
1866 int mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_EQ_wrapper()
1915 static int get_containing_mtt(struct mlx4_dev *dev, int slave, int start, in get_containing_mtt()
1939 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_WRITE_MTT_wrapper()
1977 int mlx4_HW2SW_EQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_EQ_wrapper()
2015 int mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) in mlx4_GEN_EQE()
2077 int mlx4_QUERY_EQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_EQ_wrapper()
2104 int mlx4_SW2HW_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_CQ_wrapper()
2142 int mlx4_HW2SW_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_CQ_wrapper()
2167 int mlx4_QUERY_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_CQ_wrapper()
2191 static int handle_resize(struct mlx4_dev *dev, int slave, in handle_resize()
2239 int mlx4_MODIFY_CQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MODIFY_CQ_wrapper()
2280 int mlx4_SW2HW_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_SW2HW_SRQ_wrapper()
2325 int mlx4_HW2SW_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_HW2SW_SRQ_wrapper()
2354 int mlx4_QUERY_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_SRQ_wrapper()
2377 int mlx4_ARM_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_ARM_SRQ_wrapper()
2402 int mlx4_GEN_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_GEN_QP_wrapper()
2426 int mlx4_INIT2RTR_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_INIT2RTR_QP_wrapper()
2439 int mlx4_2RST_QP_wrapper(struct mlx4_dev *dev, int slave, in mlx4_2RST_QP_wrapper()
2470 static struct res_gid *find_gid(struct mlx4_dev *dev, int slave, in find_gid()
2482 static int add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in add_mcg_res()
2509 static int rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in rem_mcg_res()
2530 int mlx4_QP_ATTACH_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QP_ATTACH_wrapper()
2585 int mlx4_QUERY_IF_STAT_wrapper(struct mlx4_dev *dev, int slave, in mlx4_QUERY_IF_STAT_wrapper()
2603 static void detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) in detach_qp()
2619 static int _move_all_busy(struct mlx4_dev *dev, int slave, in _move_all_busy()
2655 static int move_all_busy(struct mlx4_dev *dev, int slave, in move_all_busy()
2675 static void rem_slave_qps(struct mlx4_dev *dev, int slave) in rem_slave_qps()
2745 static void rem_slave_srqs(struct mlx4_dev *dev, int slave) in rem_slave_srqs()
2811 static void rem_slave_cqs(struct mlx4_dev *dev, int slave) in rem_slave_cqs()
2874 static void rem_slave_mrs(struct mlx4_dev *dev, int slave) in rem_slave_mrs()
2942 static void rem_slave_mtts(struct mlx4_dev *dev, int slave) in rem_slave_mtts()
2991 static void rem_slave_eqs(struct mlx4_dev *dev, int slave) in rem_slave_eqs()
3059 void mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) in mlx4_delete_all_resources_for_slave()