freebsd-skq/sys/ofed/include/rdma
Hans Petter Selasky 860bbba0bb Multiple fixes for using IPv6 link-local addresses with RDMA in ibcore.
1) Fail to resolve RDMA address if rtalloc1() returns the loopback
device, lo0, as the gateway interface. Currently RDMA loopback is
not supported.

2) Use ip_dev_find() and ip6_dev_find() to lookup network interfaces
with matching IPv4 and IPv6 addresses, respectivly.

3) In addr_resolve() make sure the "ifa" pointer is always set, also when
the "ifp" is NULL. Else a NULL pointer access might happen trying to
read from the "ifa" pointer later on.

4) In rdma_addr_find_dmac_by_grh() make sure the "bound_dev_if" field
gets set properly instead of passing the scope ID through the IPv6
socket address structure. This is more in line with upstream OFED
in Linux.

5) In rdma_addr_find_smac_by_sgid() there is no need to pass the
scope ID for IPv6. Either it is stored in the "bound_dev_if" field
or ip6_dev_find() will find the correct network device regardless
of the scope ID.

Sponsored by:	Mellanox Technologies
MFC after:	1 week
2017-11-09 19:22:43 +00:00
..
ib_addr.h Multiple fixes for using IPv6 link-local addresses with RDMA in ibcore. 2017-11-09 19:22:43 +00:00
ib_cache.h
ib_cm.h
ib_fmr_pool.h
ib_mad.h The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for both 2017-10-20 08:20:15 +00:00
ib_marshall.h
ib_pack.h
ib_peer_mem.h
ib_pma.h
ib_sa.h
ib_smi.h
ib_umem.h
ib_user_cm.h
ib_user_mad.h
ib_user_sa.h
ib_user_verbs_exp.h
ib_user_verbs.h
ib_verbs_exp.h
ib_verbs.h The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for both 2017-10-20 08:20:15 +00:00
iw_cm.h Fix for iWARP servers that listen on INADDR_ANY. 2016-01-22 23:33:34 +00:00
peer_mem.h
rdma_cm_ib.h
rdma_cm.h Fix for iWARP servers that listen on INADDR_ANY. 2016-01-22 23:33:34 +00:00
rdma_user_cm.h
sdp_socket.h