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
..
2007-12-20 13:56:32 -08:00
2007-10-10 16:53:11 -07:00
2006-12-02 21:22:55 -08:00
2007-12-20 13:56:32 -08:00
2007-10-10 16:53:56 -07:00
2007-11-02 08:47:06 +01:00
2007-07-10 22:15:41 -07:00
2007-10-10 16:51:28 -07:00
2007-11-10 22:01:15 -08:00
2007-10-07 23:44:17 -07:00
2007-10-10 16:51:28 -07:00
2007-06-07 13:40:50 -07:00