diff options
author | Parav Pandit <parav@nvidia.com> | 2025-09-16 14:11:00 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-09-18 05:15:39 -0400 |
commit | fa29d1e8877bcfb9813efc7d0138e01ca07f1863 (patch) | |
tree | 49466328e75656a592f0ff9b550a7c8f24e29a5d /drivers/infiniband/hw/ionic/ionic_ibdev.h | |
parent | 060842fed53f77a73824c9147f51dc6746c1267a (diff) |
RDMA/core: Squash a single user static function
To reduce dependencies in IFF_LOOPBACK in route and neighbour resolution
steps, squash the static function to its single caller and simplify the
code.
Until now, network field was set even when neighbour resolution failed.
With this change, dev_addr output fields are valid only when resolution
is successful.
Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Vlad Dumitrescu <vdumitrescu@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20250916111103.84069-2-edwards@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_ibdev.h')
0 files changed, 0 insertions, 0 deletions