]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Add support for RoCEv2 multicast
authorNoa Osherovich <noaos@mellanox.com>
Mon, 12 Jun 2017 08:14:04 +0000 (11:14 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:40:23 +0000 (10:40 -0400)
commitb21933484767974635e1b626acd13aedea167844
tree692f9930c6fbe4a8aa0f746c789a8c9e9336615a
parent8ece7f0648f5d88d991d99a2b9cfc6f7c961e871
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>
drivers/infiniband/core/verbs.c