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

hop count change for 2D dragonfly

parent 99c0a322
......@@ -3247,8 +3247,8 @@ router_packet_receive( router_state * s,
if(DF_DALLY == 0)
{
if(cur_chunk->msg.my_g_hop == 1) {
if(cur_chunk->msg.my_l_hop < 2) {
cur_chunk->msg.my_l_hop = 2;
if(cur_chunk->msg.my_l_hop < 1) {
cur_chunk->msg.my_l_hop = 1;
}
} else if (cur_chunk->msg.my_g_hop == 2) {
if(cur_chunk->msg.my_l_hop < 4) {
......
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