Commit 8eabb8d4 authored by Misbah Mubarak's avatar Misbah Mubarak

Removing references to dummy

parents a6d78530 03a6bdc2
...@@ -3117,39 +3117,41 @@ extern "C" { ...@@ -3117,39 +3117,41 @@ extern "C" {
/* data structure for dragonfly statistics */ /* data structure for dragonfly statistics */
struct model_net_method dragonfly_custom_method = struct model_net_method dragonfly_custom_method =
{ {
.mn_configure = dragonfly_custom_configure, 0,
.mn_register = dragonfly_custom_register, dragonfly_custom_configure,
.model_net_method_packet_event = dragonfly_custom_packet_event, dragonfly_custom_register,
.model_net_method_packet_event_rc = dragonfly_custom_packet_event_rc, dragonfly_custom_packet_event,
.model_net_method_recv_msg_event = NULL, dragonfly_custom_packet_event_rc,
.model_net_method_recv_msg_event_rc = NULL, NULL,
.mn_get_lp_type = dragonfly_custom_get_cn_lp_type, NULL,
.mn_get_msg_sz = dragonfly_custom_get_msg_sz, dragonfly_custom_get_cn_lp_type,
.mn_report_stats = dragonfly_custom_report_stats, dragonfly_custom_get_msg_sz,
.mn_collective_call = NULL, dragonfly_custom_report_stats,
.mn_collective_call_rc = NULL, NULL,
.mn_sample_fn = (event_f)dragonfly_custom_sample_fn, NULL,
.mn_sample_rc_fn = (revent_f)dragonfly_custom_sample_rc_fn, (event_f)dragonfly_custom_sample_fn,
.mn_sample_init_fn = (init_f)dragonfly_custom_sample_init, (revent_f)dragonfly_custom_sample_rc_fn,
.mn_sample_fini_fn = (final_f)dragonfly_custom_sample_fin (init_f)dragonfly_custom_sample_init,
(final_f)dragonfly_custom_sample_fin
}; };
struct model_net_method dragonfly_custom_router_method = struct model_net_method dragonfly_custom_router_method =
{ {
.mn_configure = NULL, // handled by dragonfly_configure 0,
.mn_register = router_custom_register, NULL, // handled by dragonfly_configure
.model_net_method_packet_event = NULL, router_custom_register,
.model_net_method_packet_event_rc = NULL, NULL,
.model_net_method_recv_msg_event = NULL, NULL,
.model_net_method_recv_msg_event_rc = NULL, NULL,
.mn_get_lp_type = router_custom_get_lp_type, NULL,
.mn_get_msg_sz = dragonfly_custom_get_msg_sz, router_custom_get_lp_type,
.mn_report_stats = NULL, // not yet supported dragonfly_custom_get_msg_sz,
.mn_collective_call = NULL, NULL, // not yet supported
.mn_collective_call_rc = NULL, NULL,
.mn_sample_fn = (event_f)dragonfly_custom_rsample_fn, NULL,
.mn_sample_rc_fn = (revent_f)dragonfly_custom_rsample_rc_fn, (event_f)dragonfly_custom_rsample_fn,
.mn_sample_init_fn = (init_f)dragonfly_custom_rsample_init, (revent_f)dragonfly_custom_rsample_rc_fn,
.mn_sample_fini_fn = (final_f)dragonfly_custom_rsample_fin (init_f)dragonfly_custom_rsample_init,
(final_f)dragonfly_custom_rsample_fin
}; };
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment