Lines Matching refs:reg_id
92 u64 reg_id; member
4029 enum mlx4_steer_type steer, u64 reg_id) in add_mcg_res() argument
4046 res->reg_id = reg_id; in add_mcg_res()
4057 enum mlx4_steer_type steer, u64 *reg_id) in rem_mcg_res() argument
4067 *reg_id = res->reg_id; in rem_mcg_res()
4079 enum mlx4_steer_type type, u64 *reg_id) in qp_attach() argument
4088 reg_id); in qp_attach()
4106 enum mlx4_steer_type type, u64 reg_id) in qp_detach() argument
4110 return mlx4_flow_detach(dev, reg_id); in qp_detach()
4149 u64 reg_id = 0; in mlx4_QP_ATTACH_wrapper() local
4163 type, ®_id); in mlx4_QP_ATTACH_wrapper()
4168 err = add_mcg_res(dev, slave, rqp, gid, prot, type, reg_id); in mlx4_QP_ATTACH_wrapper()
4176 err = rem_mcg_res(dev, slave, rqp, gid, prot, type, ®_id); in mlx4_QP_ATTACH_wrapper()
4180 err = qp_detach(dev, &qp, gid, prot, type, reg_id); in mlx4_QP_ATTACH_wrapper()
4183 qpn, reg_id); in mlx4_QP_ATTACH_wrapper()
4189 qp_detach(dev, &qp, gid, prot, type, reg_id); in mlx4_QP_ATTACH_wrapper()
4590 mlx4_flow_detach(dev, rgid->reg_id); in detach_qp()
4981 u64 reg_id; in mlx4_do_mirror_rule() local
4992 err = mlx4_cmd_imm(dev, mailbox->dma, ®_id, fs_rule->mirr_mbox_size >> 2, 0, in mlx4_do_mirror_rule()
5000 err = add_res_range(dev, fs_rule->com.owner, reg_id, 1, RES_FS_RULE, fs_rule->qpn); in mlx4_do_mirror_rule()
5004 err = get_res(dev, fs_rule->com.owner, reg_id, RES_FS_RULE, &mirr_rule); in mlx4_do_mirror_rule()
5008 fs_rule->mirr_rule_id = reg_id; in mlx4_do_mirror_rule()
5012 put_res(dev, fs_rule->com.owner, reg_id, RES_FS_RULE); in mlx4_do_mirror_rule()
5016 rem_res_range(dev, fs_rule->com.owner, reg_id, 1, RES_FS_RULE, 0); in mlx4_do_mirror_rule()
5018 mlx4_cmd(dev, reg_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH, in mlx4_do_mirror_rule()