diff options
author | 2019-07-29 21:13:02 +0000 | |
---|---|---|
committer | 2019-08-01 11:14:25 -0700 | |
commit | 332bd3a5b931eb67deb370db62d59f9cc7f76dac (patch) | |
tree | 59287cad91657932ca1fdcd9c2e39d7de91f3470 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: E-Switch, Verify support QoS element type (diff) | |
download | linux-dev-332bd3a5b931eb67deb370db62d59f9cc7f76dac.tar.xz linux-dev-332bd3a5b931eb67deb370db62d59f9cc7f76dac.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions