diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-05-24 19:14:38 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-21 10:55:16 -0700 |
commit | ba3d85f008f293ed1b721a4d892b0d55a7d16e9f (patch) | |
tree | f2f04a7f277c64698ab3073b6fdeede457d40ab4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6c8f7c4344876d9984dde2d1f5e9f6676b7a2df5 (diff) |
net/mlx5: Call mlx5_esw_offloads_rep_load/unload() for uplink port directly
For uplink port, mlx5_esw_offloads_load/unload_rep() are currently
called. There are 2 check inside, which effectively make the
functions a simple wrappers of mlx5_esw_offloads_rep_load/unload()
for uplink port. So avoid one check and indirection and call
mlx5_esw_offloads_rep_load/unload() for uplink port directly.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@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