Searched refs:ib_steering (Results 1 – 1 of 1) sorted by relevance
1842 struct mlx4_ib_steering *ib_steering = NULL; in mlx4_ib_mcg_attach() local1848 ib_steering = kmalloc(sizeof(*ib_steering), GFP_KERNEL); in mlx4_ib_mcg_attach()1849 if (!ib_steering) in mlx4_ib_mcg_attach()1877 if (ib_steering) { in mlx4_ib_mcg_attach()1878 memcpy(ib_steering->gid.raw, gid->raw, 16); in mlx4_ib_mcg_attach()1879 ib_steering->reg_id = reg_id; in mlx4_ib_mcg_attach()1881 list_add(&ib_steering->list, &mqp->steering_rules); in mlx4_ib_mcg_attach()1893 kfree(ib_steering); in mlx4_ib_mcg_attach()1927 struct mlx4_ib_steering *ib_steering; in mlx4_ib_mcg_detach() local1930 list_for_each_entry(ib_steering, &mqp->steering_rules, list) { in mlx4_ib_mcg_detach()[all …]