Searched refs:cm_flow (Results 1 – 1 of 1) sorted by relevance
1082 struct mlx4_cm_steering *cm_flow; in __mlx4_ib_flow_attach() local1095 cm_flow = kmalloc(sizeof(*cm_flow), GFP_KERNEL); in __mlx4_ib_flow_attach()1096 if (!cm_flow) in __mlx4_ib_flow_attach()1112 memcpy(&cm_flow->spec, flow_spec, sizeof(*flow_spec)); in __mlx4_ib_flow_attach()1113 cm_flow->reg_id = reg_id; in __mlx4_ib_flow_attach()1117 list_add(&cm_flow->list, &mqp->rules_list); in __mlx4_ib_flow_attach()1127 kfree(cm_flow); in __mlx4_ib_flow_attach()1139 struct mlx4_cm_steering *cm_flow; in __mlx4_ib_flow_detach() local1144 list_for_each_entry(cm_flow, &mqp->rules_list, list) { in __mlx4_ib_flow_detach()1145 if (!memcmp(&cm_flow->spec, spec, sizeof(*spec))) { in __mlx4_ib_flow_detach()[all …]