summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2016-12-27 14:57:03 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2017-03-27 15:08:20 +0300
commit55c2503dae1ac8aed14d261dc02f967b4d6b1f88 (patch)
tree24fe95aadcc5f7166b9a25b6058e5a4356527ddd /tools/perf/scripts/python/export-to-postgresql.py
parent9008ae074885ddaa2470f4c106245ddea4ae2a67 (diff)
net/mlx5e: Introduce switch channels
A fail safe helper functions that allows switching to new channels on the fly, In simple words: make_new_config(new_params) { new_channels = open_channels(new_params); if (!new_channels) return "Failed, but current channels are still active :)" switch_channels(new_channels); return "SUCCESS"; } Demonstrate mlx5e_switch_priv_channels usage in set channels ethtool callback and make it fail-safe using the new switch channels mechanism. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions