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
e6fbe164
Commit
e6fbe164
authored
May 02, 2021
by
Antoine Kaufmann
Browse files
i40e_bm: fix compiler error in debug message
parent
fc71ea98
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sims/nic/i40e_bm/i40e_hmc.cc
sims/nic/i40e_bm/i40e_hmc.cc
+1
-1
sims/nic/i40e_bm/i40e_lan.cc
sims/nic/i40e_bm/i40e_lan.cc
+1
-1
No files found.
sims/nic/i40e_bm/i40e_hmc.cc
View file @
e6fbe164
...
@@ -135,7 +135,7 @@ void host_mem_cache::issue_mem_op(mem_op &op) {
...
@@ -135,7 +135,7 @@ void host_mem_cache::issue_mem_op(mem_op &op) {
#ifdef DEBUG_HMC
#ifdef DEBUG_HMC
std
::
cerr
<<
"hmc issue_mem_op: hmc_addr="
<<
addr
std
::
cerr
<<
"hmc issue_mem_op: hmc_addr="
<<
addr
<<
" dma_addr="
<<
op
.
dma_addr
<<
" len="
<<
op
.
len
<<
std
::
endl
;
<<
" dma_addr="
<<
op
.
dma_addr
_
<<
" len="
<<
op
.
len
_
<<
std
::
endl
;
#endif
#endif
runner
->
IssueDma
(
op
);
runner
->
IssueDma
(
op
);
}
}
...
...
sims/nic/i40e_bm/i40e_lan.cc
View file @
e6fbe164
...
@@ -430,7 +430,7 @@ void lan_queue_tx::do_writeback(uint32_t first_idx, uint32_t first_pos,
...
@@ -430,7 +430,7 @@ void lan_queue_tx::do_writeback(uint32_t first_idx, uint32_t first_pos,
dma
->
dma_addr_
=
hwb_addr
;
dma
->
dma_addr_
=
hwb_addr
;
#ifdef DEBUG_LAN
#ifdef DEBUG_LAN
log
<<
" hwb="
<<
*
((
uint32_t
*
)
dma
->
data
)
<<
logger
::
endl
;
log
<<
" hwb="
<<
*
((
uint32_t
*
)
dma
->
data
_
)
<<
logger
::
endl
;
#endif
#endif
runner
->
IssueDma
(
*
dma
);
runner
->
IssueDma
(
*
dma
);
}
}
...
...
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