commit | 9636a56fa864464896bf7d1272c701f2b9a57737 | [log] [tgz] |
---|---|---|
author | Noa Osherovich <noaos@mellanox.com> | Mon Jun 12 11:14:04 2017 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Mon Jul 24 10:40:23 2017 -0400 |
tree | 692f9930c6fbe4a8aa0f746c789a8c9e9336615a | |
parent | be1d325a335840a86c133a56c6a911c368bac0fd [diff] |
IB/core: Add support for RoCEv2 multicast When creating address handle from multicast GID, set MAC according to the appropriate formula instead of searching for it in the GID table: - For IPv4 multicast GID use ip_eth_mc_map(). - For IPv6 multicast GID use ipv6_eth_mc_map(). Signed-off-by: Noa Osherovich <noaos@mellanox.com> Reviewed-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>