Lines Matching refs:loc_rule
1480 struct ethtool_flow_id *loc_rule; in mlx4_en_flow_replace() local
1519 loc_rule = &priv->ethtool_rules[cmd->fs.location]; in mlx4_en_flow_replace()
1520 if (loc_rule->id) { in mlx4_en_flow_replace()
1521 err = mlx4_flow_detach(priv->mdev->dev, loc_rule->id); in mlx4_en_flow_replace()
1524 cmd->fs.location, loc_rule->id); in mlx4_en_flow_replace()
1527 loc_rule->id = 0; in mlx4_en_flow_replace()
1528 memset(&loc_rule->flow_spec, 0, in mlx4_en_flow_replace()
1530 list_del(&loc_rule->list); in mlx4_en_flow_replace()
1538 loc_rule->id = reg_id; in mlx4_en_flow_replace()
1539 memcpy(&loc_rule->flow_spec, &cmd->fs, in mlx4_en_flow_replace()
1541 list_add_tail(&loc_rule->list, &priv->ethtool_list); in mlx4_en_flow_replace()