Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
2a7724c1
Commit
2a7724c1
authored
Apr 19, 2017
by
Misbah Mubarak
Browse files
Fixing adaptive routing VC issue
parent
4047d77b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/dragonfly-custom.C
View file @
2a7724c1
...
...
@@ -2839,8 +2839,8 @@ router_packet_receive( router_state * s,
}
else
if
(
cur_chunk
->
msg
.
my_g_hop
==
2
)
{
if
(
routing
==
PROG_ADAPTIVE
&&
cur_chunk
->
msg
.
my_l_hop
<
6
)
{
cur_chunk
->
msg
.
my_l_hop
=
6
;
}
else
if
(
cur_chunk
->
msg
.
my_l_hop
<
8
)
{
cur_chunk
->
msg
.
my_l_hop
=
8
;
}
else
if
(
cur_chunk
->
msg
.
my_l_hop
<
4
)
{
cur_chunk
->
msg
.
my_l_hop
=
4
;
}
}
output_chan
=
cur_chunk
->
msg
.
my_l_hop
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment