Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
3a8c1fbe
Commit
3a8c1fbe
authored
Jun 17, 2020
by
Antoine Kaufmann
Browse files
corundum_bm: fix sync
parent
5aab07da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
corundum_bm/corundum_bm.cc
corundum_bm/corundum_bm.cc
+7
-0
No files found.
corundum_bm/corundum_bm.cc
View file @
3a8c1fbe
...
@@ -927,6 +927,9 @@ static void poll_h2d(Corundum &nic)
...
@@ -927,6 +927,9 @@ static void poll_h2d(Corundum &nic)
h2d_writecomp
(
&
msg
->
writecomp
);
h2d_writecomp
(
&
msg
->
writecomp
);
break
;
break
;
case
COSIM_PCIE_PROTO_H2D_MSG_SYNC
:
break
;
default:
default:
fprintf
(
stderr
,
"poll_h2d: unsupported type=%u
\n
"
,
type
);
fprintf
(
stderr
,
"poll_h2d: unsupported type=%u
\n
"
,
type
);
}
}
...
@@ -950,6 +953,9 @@ static void poll_n2d(Corundum &nic)
...
@@ -950,6 +953,9 @@ static void poll_n2d(Corundum &nic)
eth_recv
(
nic
,
&
msg
->
recv
);
eth_recv
(
nic
,
&
msg
->
recv
);
break
;
break
;
case
COSIM_ETH_PROTO_N2D_MSG_SYNC
:
break
;
default:
default:
fprintf
(
stderr
,
"poll_n2d: unsupported type=%u"
,
t
);
fprintf
(
stderr
,
"poll_n2d: unsupported type=%u"
,
t
);
}
}
...
@@ -1014,6 +1020,7 @@ int main(int argc, char *argv[])
...
@@ -1014,6 +1020,7 @@ int main(int argc, char *argv[])
main_time
=
next_ts
;
main_time
=
next_ts
;
}
}
fprintf
(
stderr
,
"main_time: %lu
\n
"
,
main_time
);
nicsim_cleanup
();
nicsim_cleanup
();
return
0
;
return
0
;
}
}
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