diff options
author | Roi Dayan <roid@nvidia.com> | 2021-05-13 15:00:53 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-05-18 23:01:26 -0700 |
commit | fca086617af864efd20289774901221b2df06b39 (patch) | |
tree | 8e23ab3cc22cc3bd7e8b2231bcf8c9b9af7e0b69 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 442b3d7b671bcb779ebdad46edd08051eb8b28d9 (diff) |
net/mlx5: Fix err prints and return when creating termination table
Fix print to print correct error code and not using IS_ERR() which
will just result in always printing 1.
Also return real err instead of always -EOPNOTSUPP.
Fixes: 10caabdaad5a ("net/mlx5e: Use termination table for VLAN push actions")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions