commit | 332bd3a5b931eb67deb370db62d59f9cc7f76dac | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Mon Jul 29 21:13:02 2019 +0000 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Aug 01 11:14:25 2019 -0700 |
tree | 59287cad91657932ca1fdcd9c2e39d7de91f3470 | |
parent | 6cedde4513990af7191afa43528533f80e92c989 [diff] |
net/mlx5: E-switch, Combine metadata enable/disable functionality Except bit toggling code, rest of the code is same to enable/disable metadata passing functionality. Hence, combine them to single function and control using enable flag. Also instead of checking metadata supported at multiple places, fold into the helper function. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>