]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix no rewrite fields with the same match
authorEli Britstein <elibr@mellanox.com>
Wed, 10 Apr 2019 19:42:20 +0000 (19:42 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 17 May 2019 20:16:49 +0000 (13:16 -0700)
commit047cda69e0b100c8ca592bb959771fb90ebca73e
tree0a5fe4772ff54ff27330eb9da0cdfc09e377a480
parentb391d04d975698768c42dc27ec821034cd95add5
net/mlx5e: Fix no rewrite fields with the same match

With commit 61c706f0b0e0 ("net/mlx5e: Do not rewrite fields with the
same match") there are no rewrites if the rewrite value is the same as
the matched value. However, if the field is not matched, the rewrite is
also wrongly skipped. Fix it.

Fixes: 61c706f0b0e0 ("net/mlx5e: Do not rewrite fields with the same match")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c