OpenCloudOS-Kernel/drivers/infiniband/ulp/ipoib
Rolf Manderscheid a9e527e3f9 IPoIB: improve IPv4/IPv6 to IB mcast mapping functions
An IPoIB subnet on an IB fabric that spans multiple IB subnets can't
use link-local scope in multicast GIDs.  The existing routines that
map IP/IPv6 multicast addresses into IB link-level addresses hard-code
the scope to link-local, and they also leave the partition key field
uninitialised.  This patch adds a parameter (the link-level broadcast
address) to the mapping routines, allowing them to initialise both the
scope and the P_Key appropriately, and fixes up the call sites.

The next step will be to add a way to configure the scope for an IPoIB
interface.

Signed-off-by: Rolf Manderscheid <rvm@obsidianresearch.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-01-25 14:15:37 -08:00
..
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
ipoib.h IPoIB/cm: Add connected mode support for devices without SRQs 2008-01-25 14:15:24 -08:00
ipoib_cm.c IPoIB/cm: Add connected mode support for devices without SRQs 2008-01-25 14:15:24 -08:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c IPoIB: Trivial formatting cleanups 2008-01-25 14:15:23 -08:00
ipoib_main.c IPoIB/cm: Add connected mode support for devices without SRQs 2008-01-25 14:15:24 -08:00
ipoib_multicast.c IPoIB: improve IPv4/IPv6 to IB mcast mapping functions 2008-01-25 14:15:37 -08:00
ipoib_verbs.c IPoIB/cm: Add connected mode support for devices without SRQs 2008-01-25 14:15:24 -08:00
ipoib_vlan.c IPoIB: Allow setting policy to ignore multicast groups 2007-10-10 13:02:30 -07:00