freebsd-dev/sys/ofed/include/rdma
Hans Petter Selasky 0bab509b94 More fixes for using IPv6 addresses with RDMA:
- Added check that the SCOPE ID is only restored for IPv6 linklocal
  addresses.

- Changes made by r237263 in the "cma_bind_addr()" function did not
  check if the socket address was of type IPv6 and used the IPv4
  socket address for IPv6 addresses. This caused the function to
  fail. Fixed this.

- In the "rdma_gid2ip()" function and some other places the "sin6_len"
  and "sin6_scope_id" fields were not set for IPv6 socket
  addresses. Fixed this.

- The scope ID is not stored as part of the GID entries and must be
  passed as an argument to "rdma_gid2ip()".

- Added new method to "struct ib_device" which returns a pointer to
  the network interface which belongs to the given infiniband
  device. This is needed to be able to get the scope ID for IPv6
  addresses via the associated ethernet interface.

- Added convenience function, "rdma_get_ipv6_scope_id()", to get the
  scope ID for IPv6 addresses.

- Implemented new "get_netdev" method for mlx4ib. Other IB controller
  drivers which want to support IPv6 addresses needs to implement this
  aswell.

- Bumped the FreeBSD version due to changing "struct ib_device".

Sponsored by:	Mellanox Technologies
MFC after:	1 week
2016-04-22 18:16:12 +00:00
..
ib_addr.h More fixes for using IPv6 addresses with RDMA: 2016-04-22 18:16:12 +00:00
ib_cache.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_cm.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_fmr_pool.h
ib_mad.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_marshall.h
ib_pack.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_peer_mem.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_pma.h Add some defines needed by the coming mlx5 infiniband support. 2015-11-24 12:11:56 +00:00
ib_sa.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_smi.h
ib_umem.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_user_cm.h
ib_user_mad.h
ib_user_sa.h
ib_user_verbs_exp.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_user_verbs.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_verbs_exp.h Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
ib_verbs.h More fixes for using IPv6 addresses with RDMA: 2016-04-22 18:16:12 +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 Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
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 Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
sdp_socket.h