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
e06288a1
Commit
e06288a1
authored
Jul 10, 2020
by
Antoine Kaufmann
Browse files
nicsim_common: larger queues
parent
0a5abe7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nicsim_common/nicsim.c
nicsim_common/nicsim.c
+3
-3
No files found.
nicsim_common/nicsim.c
View file @
e06288a1
...
@@ -39,10 +39,10 @@
...
@@ -39,10 +39,10 @@
#define H2D_ENUM 1024
#define H2D_ENUM 1024
#define D2N_ELEN (2048 + 64)
#define D2N_ELEN (2048 + 64)
#define D2N_ENUM
1024
#define D2N_ENUM
8192
#define N2D_ELEN (2048 + 64)
#define N2D_ELEN (2048 + 64)
#define N2D_ENUM
1024
#define N2D_ENUM
8192
static
uint8_t
*
d2h_queue
;
static
uint8_t
*
d2h_queue
;
...
@@ -184,7 +184,7 @@ int nicsim_init(struct nicsim_params *params,
...
@@ -184,7 +184,7 @@ int nicsim_init(struct nicsim_params *params,
void
*
shmptr
;
void
*
shmptr
;
/* ready in memory queues */
/* ready in memory queues */
if
((
shm_fd
=
shm_create
(
params
->
shm_path
,
32
*
1024
*
1024
,
&
shmptr
))
if
((
shm_fd
=
shm_create
(
params
->
shm_path
,
64
*
1024
*
1024
,
&
shmptr
))
<
0
)
<
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