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
e4fcb7df
Commit
e4fcb7df
authored
Mar 03, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
May 09, 2023
Browse files
lib/simbricks/mem: increase queue entry size to fit DMA op up to 8192B
parent
c011a7af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/simbricks/mem/if.c
lib/simbricks/mem/if.c
+3
-1
No files found.
lib/simbricks/mem/if.c
View file @
e4fcb7df
...
@@ -27,5 +27,7 @@
...
@@ -27,5 +27,7 @@
void
SimbricksMemIfDefaultParams
(
struct
SimbricksBaseIfParams
*
params
)
{
void
SimbricksMemIfDefaultParams
(
struct
SimbricksBaseIfParams
*
params
)
{
SimbricksBaseIfDefaultParams
(
params
);
SimbricksBaseIfDefaultParams
(
params
);
params
->
upper_layer_proto
=
SIMBRICKS_PROTO_ID_MEM
;
params
->
upper_layer_proto
=
SIMBRICKS_PROTO_ID_MEM
;
params
->
in_entries_size
=
params
->
out_entries_size
=
4096
;
// fit DMA writes with size 8192
params
->
in_entries_size
=
params
->
out_entries_size
=
8192
+
sizeof
(
union
SimbricksProtoMemH2M
);
}
}
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