Add support for IPv6 multicast in ibcore.
This change allows us to join IPv6 multicast networks. MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
c68cb3a60a
commit
1bebf70fe7
@ -4021,7 +4021,7 @@ static int cma_iboe_join_multicast(struct rdma_id_private *id_priv,
|
||||
mc->multicast.ib->rec.hop_limit = 1;
|
||||
mc->multicast.ib->rec.mtu = iboe_get_mtu(ndev->if_mtu);
|
||||
|
||||
if (addr->sa_family == AF_INET) {
|
||||
if (addr->sa_family == AF_INET || addr->sa_family == AF_INET6) {
|
||||
if (gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) {
|
||||
mc->multicast.ib->rec.hop_limit = IPV6_DEFAULT_HOPLIMIT;
|
||||
if (!send_only) {
|
||||
|
Loading…
Reference in New Issue
Block a user