summaryrefslogtreecommitdiff
path: root/include/linux/netdev_features.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2023-06-12 18:31:04 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-06-14 14:12:20 +0300
commit69f4ba177d6bb863925e586fa15bd0d454a875d7 (patch)
treedb8554423cfd52d192e9135c4209becc9b358a32 /include/linux/netdev_features.h
parent2019b5eeae2af862af41882b0863d61dfdaee25d (diff)
downloadlinux-69f4ba177d6bb863925e586fa15bd0d454a875d7.tar.xz
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 <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions