Lines Matching refs:reg_id
847 u64 reg_id; member
1017 u64 *reg_id) in __mlx4_ib_create_flow() argument
1083 ret = mlx4_cmd_imm(mdev->dev, mailbox->dma, reg_id, size >> 2, 0, in __mlx4_ib_create_flow()
1097 static int __mlx4_ib_destroy_flow(struct mlx4_dev *dev, u64 reg_id) in __mlx4_ib_destroy_flow() argument
1100 err = mlx4_cmd(dev, reg_id, 0, 0, in __mlx4_ib_destroy_flow()
1105 reg_id); in __mlx4_ib_destroy_flow()
1110 u64 *reg_id) in mlx4_ib_tunnel_steer_add() argument
1129 reg_id); in mlx4_ib_tunnel_steer_add()
1174 &mflow->reg_id[i]); in mlx4_ib_create_flow()
1181 err = mlx4_ib_tunnel_steer_add(qp, flow_attr, &mflow->reg_id[i]); in mlx4_ib_create_flow()
1191 (void)__mlx4_ib_destroy_flow(to_mdev(qp->device)->dev, mflow->reg_id[i]); in mlx4_ib_create_flow()
1206 while (i < ARRAY_SIZE(mflow->reg_id) && mflow->reg_id[i]) { in mlx4_ib_destroy_flow()
1207 err = __mlx4_ib_destroy_flow(mdev->dev, mflow->reg_id[i]); in mlx4_ib_destroy_flow()
1222 u64 reg_id; in mlx4_ib_mcg_attach() local
1236 prot, ®_id); in mlx4_ib_mcg_attach()
1248 ib_steering->reg_id = reg_id; in mlx4_ib_mcg_attach()
1257 prot, reg_id); in mlx4_ib_mcg_attach()
1287 u64 reg_id = 0; in mlx4_ib_mcg_detach() local
1306 reg_id = ib_steering->reg_id; in mlx4_ib_mcg_detach()
1311 prot, reg_id); in mlx4_ib_mcg_detach()
2430 &mqp->reg_id); in mlx4_ib_steer_qp_reg()
2432 err = __mlx4_ib_destroy_flow(mdev->dev, mqp->reg_id); in mlx4_ib_steer_qp_reg()