When client reregister is requested, ACM should rejoin/recreate ACM multicast groups.
Signed-off-by: Hal Rosenstock <h...@mellanox.com> --- src/acm.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/acm.c b/src/acm.c index 0da20f8..81aeeb4 100644 --- a/src/acm.c +++ b/src/acm.c @@ -3282,6 +3282,13 @@ static void CDECL_FUNC acm_event_handler(void *context) if (dev->port[i].state == IBV_PORT_ACTIVE) acm_port_down(&dev->port[i]); break; + case IBV_EVENT_CLIENT_REREGISTER: + if (dev->port[i].state == IBV_PORT_ACTIVE) { + acm_port_join(&dev->port[i]); + acm_log(1, "%s %d has reregistered\n", + dev->verbs->device->name, i); + } + break; default: break; } -- 1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html