diff options
author | Parav Pandit <parav@nvidia.com> | 2025-09-16 14:11:01 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-09-18 05:20:20 -0400 |
commit | 200651b9b8aadfbbec852f0e5d042d9abe75e2ab (patch) | |
tree | e32dcd5cdb1a956dd7b7ee32ad18d86da40e88be /drivers/infiniband/hw/ionic/ionic_ibdev.h | |
parent | fa29d1e8877bcfb9813efc7d0138e01ca07f1863 (diff) |
RDMA/core: Resolve MAC of next-hop device without ARP support
Currently, if the next-hop netdevice does not support ARP resolution,
the destination MAC address is silently set to zero without reporting
an error. This leads to incorrect behavior and may result in packet
transmission failures.
Fix this by deferring MAC resolution to the IP stack via neighbour
lookup, allowing proper resolution or error reporting as appropriate.
Fixes: 7025fcd36bd6 ("IB: address translation to map IP toIB addresses (GIDs)")
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-3-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