diff options
author | Parav Pandit <parav@mellanox.com> | 2019-07-29 21:13:02 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-01 11:14:25 -0700 |
commit | 332bd3a5b931eb67deb370db62d59f9cc7f76dac (patch) | |
tree | 59287cad91657932ca1fdcd9c2e39d7de91f3470 /tools/perf/scripts/python/export-to-sqlite.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions