net/mlx5e: Properly initialize flow attributes for slow path eswitch rule deletion
authorOr Gerlitz <ogerlitz@mellanox.com>
Mon, 10 Dec 2018 10:31:42 +0000 (12:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Dec 2018 09:24:44 +0000 (01:24 -0800)
commit154e62abe9cd07c9b71735d8456a03a7c5251280
treeab2da7abac7292954132821008b555b699600ef8
parentd14f6f2a84326dd2751962167b2293fc91751ff8
net/mlx5e: Properly initialize flow attributes for slow path eswitch rule deletion

When a neighbour is resolved, we delete the goto slow path rule from HW.

The eswitch flow attributes where not properly initialized on that case,
hence we mess up the eswitch refcounts for chain zero (the default one).

Fix that along with making sure to use semicolons and not commas on that code;

Fixes: 5dbe906ff1d5 ('net/mlx5e: Use a slow path rule instead if vxlan neighbour isn't available')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c