commit | 27c11b6b844cd9473330ff29ddb55a535d2dd14a | [log] [tgz] |
---|---|---|
author | Eli Britstein <elibr@mellanox.com> | Sun Mar 17 18:01:48 2019 +0000 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Apr 05 14:10:34 2019 -0700 |
tree | f8661ab9db36f54b078ea5c57cef5515cab58033 | |
parent | 35a605db168c5ce4e6b69d66d7aa8d81769ad8a6 [diff] |
net/mlx5e: Do not rewrite fields with the same match If we have a match for the same value of a rewrite field, there is no point for the rewrite. In order to save rewrite actions, and avoid entirely rewrite actions (if all rewrites are the same), ignore such rewrite fields. Signed-off-by: Eli Britstein <elibr@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>