If the ACM service is configured to use the SA to resolve path
record data, then only join the base multicast group. We only
need to join other groups if we're creating path records based
on multicast data, using the acm route protocol.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
if ((ep->state = ep->mc_dest[0].state) != ACM_READY)
continue;
- if (port->rate != min_rate || port->mtu != min_mtu)
+ if ((route_prot == ACM_ROUTE_PROT_ACM) &&
+ (port->rate != min_rate || port->mtu != min_mtu))
acm_join_group(ep, &port_gid, 0, 0, 0, port->rate, port->mtu);
}
acm_log(1, "joins for device %s port %d complete\n", dev->verbs->device->name,