diff options
author | Shahar Shitrit <shshitrit@nvidia.com> | 2024-07-30 09:16:37 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-01 04:04:51 +0300 |
commit | 3f8e82a020a5c22f9b791f4ac499b8e18007fbda (patch) | |
tree | e55f67ba4f7698e9ca4eeecb36d7a4084d54a32e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 025f2b85a5e5a46df14ecf162c3c80a957a36d0b (diff) | |
download | linux-3f8e82a020a5c22f9b791f4ac499b8e18007fbda.tar.xz |
net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys
Since the documentation for mlx5_toggle_port_link states that it should
only be used after setting the port register, we add a check for the
return value from mlx5_port_set_eth_ptys to ensure the register was
successfully set before calling it.
Fixes: 667daedaecd1 ("net/mlx5e: Toggle link only after modifying port parameters")
Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/20240730061638.1831002-9-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions