diff options
author | Gal Pressman <galp@mellanox.com> | 2016-06-23 17:02:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-27 04:10:41 -0400 |
commit | 667daedaecd15b89d0ded7af49519f28d6ea2cf4 (patch) | |
tree | a3d9e5cecbd2145bb5be79bcca4cfb3189ce2abe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cb3c7fd4f8393e0c42cbb13367b60454ae4e05f7 (diff) | |
download | linux-667daedaecd15b89d0ded7af49519f28d6ea2cf4.tar.gz linux-667daedaecd15b89d0ded7af49519f28d6ea2cf4.tar.bz2 linux-667daedaecd15b89d0ded7af49519f28d6ea2cf4.zip |
net/mlx5e: Toggle link only after modifying port parameters
Add a dedicated function to toggle port link. It should be called only
after setting a port register.
Toggle will set port link to down and bring it back up in case that it's
admin status was up.
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions