Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
09bf4ffa
Commit
09bf4ffa
authored
Jul 19, 2016
by
Nikhil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in dfly routing
Change-Id: I53f278953f2e287bf122cf20694a7db3bd1fd336
parent
06a7bce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/networks/model-net/dragonfly.c
src/networks/model-net/dragonfly.c
+2
-2
No files found.
src/networks/model-net/dragonfly.c
View file @
09bf4ffa
...
...
@@ -3022,7 +3022,7 @@ void router_buf_update_rc(router_state * s,
prepend_to_terminal_message_list
(
s
->
queued_msgs
[
indx
],
s
->
queued_msgs_tail
[
indx
],
output_chan
,
head
);
s
->
vc_occupancy
[
indx
][
output_chan
]
-=
s
->
params
->
chunk_size
;
s
->
queued_count
[
indx
]
-
=
s
->
params
->
chunk_size
;
s
->
queued_count
[
indx
]
+
=
s
->
params
->
chunk_size
;
}
if
(
bf
->
c2
)
{
codes_local_latency_reverse
(
lp
);
...
...
@@ -3054,7 +3054,7 @@ void router_buf_update(router_state * s, tw_bf * bf, terminal_message * msg, tw_
append_to_terminal_message_list
(
s
->
pending_msgs
[
indx
],
s
->
pending_msgs_tail
[
indx
],
output_chan
,
head
);
s
->
vc_occupancy
[
indx
][
output_chan
]
+=
s
->
params
->
chunk_size
;
s
->
queued_count
[
indx
]
+
=
s
->
params
->
chunk_size
;
s
->
queued_count
[
indx
]
-
=
s
->
params
->
chunk_size
;
}
if
(
s
->
in_send_loop
[
indx
]
==
0
&&
s
->
pending_msgs
[
indx
][
output_chan
]
!=
NULL
)
{
bf
->
c2
=
1
;
...
...
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