Hi,

I'm using OFA 1.4.1 and I have a NetEffects RNIC. IP of my RNIC is
192.168.0.1 and IP of my NIC is 10.127.227.60.
When I call rdma_resolve_addr for an IP that doesn't exist, like 4.5.7.8,
the result state of neigh_lookup is set to NUD_REACHABLE. This happens
because after ip_route_output_key is called, rt->rt_gateway is set to
10.127.227.1, while rt->rt_dst is 4.5.7.8
I don't have much knowledge about linux networking but when I use rt->rt_dst
instead of rt->rt_gateway, I get the appropriate response.
This NUD_REACHABLE state is not a problem for OFA because it checks the gids
before calling cma_attach_to_dev, but still, it looks weird to me to get a
NUD_REACHABLE state.
Do you think it would be a problem if I changed
neigh = neigh_lookup(&arp_tbl, &rt->rt_gateway, rt->idev->dev);
to
neigh = neigh_lookup(&arp_tbl, &rt->rt_dst, rt->idev->dev);

Thanks,
Celal
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to