freebsd-dev/sys
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
..
amd64 Cleanup redundant parenthesis from existing howmany()/roundup() macro uses. 2016-04-22 16:57:42 +00:00
arm Fix duplicate TLB entries issue during section promotion/demotion. 2016-04-22 06:42:50 +00:00
arm64 sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
boot Fix more pc98 build issues re: bcache change 2016-04-22 16:20:58 +00:00
bsm Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
cam Yet more redundant parenthesis from r298431. 2016-04-21 20:30:38 +00:00
cddl lahf/sahf are supported on some amd64 processors 2016-04-22 13:44:12 +00:00
compat Cleanup redundant parenthesis from existing howmany()/roundup() macro uses. 2016-04-22 16:57:42 +00:00
conf Clear the DDR memory. This should be done by bootloaders, 2016-04-22 16:15:58 +00:00
contrib Fix for printf() compile warning when fast_reg.length is 64-bit. 2016-04-22 07:29:38 +00:00
crypto aesni(4): Initialize error before use 2016-04-20 03:05:32 +00:00
ddb Indentation issues. 2016-04-20 16:19:44 +00:00
dev Optionally return the output capabilities list from _OSC. 2016-04-22 17:51:19 +00:00
fs sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
gdb
geom DRY on buffer sizes. Update to r298420. 2016-04-21 21:13:41 +00:00
gnu Change OpenWRT imported dtsi files 2016-04-20 14:29:03 +00:00
i386 Cleanup redundant parenthesis from existing howmany()/roundup() macro uses. 2016-04-22 16:57:42 +00:00
isa isa/pnp: for pointers replace 0 with NULL. 2016-04-14 17:20:35 +00:00
kern sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
kgssapi kgssapi(4): Don't allow user-provided arguments to overrun stack buffer 2016-04-20 05:02:13 +00:00
libkern kern: for pointers replace 0 with NULL. 2016-04-15 16:10:11 +00:00
mips sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
modules [bhnd] Add a common bhnd_pci driver shared by both bhnd_pcib and bhnd_pci_hostb 2016-04-22 16:26:53 +00:00
net sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
net80211 sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
netgraph sys: use our nitems() macro when param.h is available. 2016-04-21 19:40:10 +00:00
netinet Prevent underflows in tp->snd_wnd if the remote side ACKs more than 2016-04-21 15:06:53 +00:00
netinet6 Indentation issues. 2016-04-20 16:19:44 +00:00
netipsec Remove stale function declaration 2016-04-21 11:02:06 +00:00
netnatm kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
netpfil netpfil: for pointers replace 0 with NULL. 2016-04-15 12:24:01 +00:00
netsmb Remove unused SMB_DIALECT_MAX macro. 2016-04-20 21:13:24 +00:00
nfs Do not try to install a default route for each interface found, because 2016-03-27 23:16:37 +00:00
nfsclient
nfsserver
nlm Remove slightly used const values that can be replaced with nitems(). 2016-04-21 15:38:28 +00:00
ofed More fixes for using IPv6 addresses with RDMA: 2016-04-22 18:16:12 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Use our nitems() macro when param.h is available. 2016-04-20 15:45:55 +00:00
powerpc sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
riscv Clear the DDR memory. This should be done by bootloaders, 2016-04-22 16:15:58 +00:00
rpc kgssapi(4): Fix string overrun in Kerberos principal construction 2016-04-20 04:45:23 +00:00
security sys: use our nitems() macro when param.h is available. 2016-04-21 19:40:10 +00:00
sparc64 Use our nitems() macro when param.h is available. 2016-04-20 15:45:55 +00:00
sys More fixes for using IPv6 addresses with RDMA: 2016-04-22 18:16:12 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs Add FEATURE knob for testing for UFS extended attribute kernel support 2016-04-22 08:09:27 +00:00
vm Cleanup redundant parenthesis from existing howmany()/roundup() macro uses. 2016-04-22 16:57:42 +00:00
x86 sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
xdr RPC: for pointers replace 0 with NULL. 2016-04-14 17:06:37 +00:00
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00