diff options
| author | Jiri Pirko <jiri@nvidia.com> | 2023-05-17 13:59:34 +0200 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-09-19 23:33:06 -0700 |
| commit | 9caeb1475c3e852bcfa6332227c6bb2feaa8eb23 (patch) | |
| tree | fbda55371574bee0b3c108e62b41f5d33112bdac /scripts/objdiff | |
| parent | net/mlx5: Call mlx5_sf_id_erase() once in mlx5_sf_dealloc() (diff) | |
| download | linux-9caeb1475c3e852bcfa6332227c6bb2feaa8eb23.tar.gz linux-9caeb1475c3e852bcfa6332227c6bb2feaa8eb23.zip | |
net/mlx5: Use devlink port pointer to get the pointer of container SF struct
Benefit from the fact that struct devlink_port is eventually embedded
in struct mlx5_sf and use container_of() macro to get it instead of the
xarray lookup in every devlink port op.
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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
