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:59:39 -08:00
2008-01-20 20:31:42 -08:00
2007-12-20 14:03:11 -08:00
2007-12-07 04:31:47 -08:00
2007-12-20 14:02:40 -08:00
2007-12-14 13:54:37 -08:00
2008-01-04 00:47:02 -08:00
2005-04-16 15:20:36 -07:00