aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-05-17 13:59:34 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2023-09-19 23:33:06 -0700
commit9caeb1475c3e852bcfa6332227c6bb2feaa8eb23 (patch)
treefbda55371574bee0b3c108e62b41f5d33112bdac /scripts/objdiff
parentnet/mlx5: Call mlx5_sf_id_erase() once in mlx5_sf_dealloc() (diff)
downloadlinux-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