diff options
| author | Petr Machata <[email protected]> | 2023-06-12 15:31:04 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-06-14 11:12:20 +0000 |
| commit | 69f4ba177d6bb863925e586fa15bd0d454a875d7 (patch) | |
| tree | db8554423cfd52d192e9135c4209becc9b358a32 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | |
| parent | mlxsw: spectrum_router: Access rif->dev from params in mlxsw_sp_rif_create() (diff) | |
| download | kernel-69f4ba177d6bb863925e586fa15bd0d454a875d7.tar.gz kernel-69f4ba177d6bb863925e586fa15bd0d454a875d7.zip | |
mlxsw: spectrum_router: Access nh->rif->dev through a helper
In order to abstract away deduction of netdevice from the corresponding
next hop, introduce a helper, mlxsw_sp_nexthop_dev(), and use it
throughout. This will make it possible to change the deduction path easily
later on.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Amit Cohen <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions
