diff options
author | Parav Pandit <parav@mellanox.com> | 2020-04-20 04:32:48 -0500 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-04-30 09:20:32 -0700 |
commit | e9864539053ae15c2d6475833f62d7383f9271ce (patch) | |
tree | 40fd7db2fe1c8be50505b98a136061327683f9bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 799499850ae956c3ec3aceb84223bfb33b2bdcfc (diff) |
net/mlx5: E-switch, Fix printing wrong error value
When mlx5_modify_header_alloc() fails, instead of printing the error
value returned, current error log prints 0.
Fix by printing correct error value returned by
mlx5_modify_header_alloc().
Fixes: 6724e66b90ee ("net/mlx5: E-Switch, Get reg_c1 value on miss")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Roi Dayan <roid@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