Whamcloud - gitweb
LU-7734 lnet: implement Peer Discovery
[fs/lustre-release.git] / lnet / lnet / api-ni.c
index 38186e2..b05faa8 100644 (file)
@@ -1008,7 +1008,8 @@ lnet_ping_target_create(int nnis)
        pbuf->pb_info.pi_nnis = nnis;
        pbuf->pb_info.pi_pid = the_lnet.ln_pid;
        pbuf->pb_info.pi_magic = LNET_PROTO_PING_MAGIC;
-       pbuf->pb_info.pi_features = LNET_PING_FEAT_NI_STATUS;
+       pbuf->pb_info.pi_features =
+               LNET_PING_FEAT_NI_STATUS | LNET_PING_FEAT_MULTI_RAIL;
 
        return pbuf;
 }
@@ -1365,7 +1366,7 @@ static void lnet_push_target_event_handler(struct lnet_event *ev)
 
        if (pbuf->pb_info.pi_magic == __swab32(LNET_PROTO_PING_MAGIC))
                lnet_swap_pinginfo(pbuf);
-
+       lnet_peer_push_event(ev);
        if (ev->unlinked)
                lnet_ping_buffer_decref(pbuf);
 }