]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336388:
authorhselasky <hselasky@FreeBSD.org>
Thu, 2 Aug 2018 08:30:44 +0000 (08:30 +0000)
committerhselasky <hselasky@FreeBSD.org>
Thu, 2 Aug 2018 08:30:44 +0000 (08:30 +0000)
commit63a00cd85b03e89d85b1e6ab91fdb6a200a1c53a
tree8b2c24c07c5f40af62c36b9a3388d9a66d3d7dfb
parent32bdf2d1eb20842240efe83ad1f8766b14c03913
MFC r336388:
Add support for RoCEv2 multicast in ibcore.

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().

Linux commit:
9636a56fa864464896bf7d1272c701f2b9a57737

Sponsored by: Mellanox Technologies
sys/ofed/drivers/infiniband/core/ib_verbs.c