net/mlx5: Consolidate flow rules regardless their flow tag
authorMaor Gottlieb <maorg@mellanox.com>
Wed, 18 Jan 2017 12:59:47 +0000 (14:59 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 15:21:01 +0000 (10:21 -0500)
commite04a01837729663572baf7164100e28265de7ed8
tree03e20ebb92825996302126b533ed3d500a1920d6
parent5abb0da9cd438483d80517b1d5f0a62a2f818426
net/mlx5: Consolidate flow rules regardless their flow tag

Flow rules with same match criteria and value should be mapped to
the same flow table entry regardless the flow tag identifier.

Flow tag is part of flow table entry context and not of the
destination, therefore we should return error when we try to add
destination to flow table entry with different flow tag.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c