Skip to content

Commit ca14795

Browse files
committed
octeon: fix trace for single loop
Type: fix JIRA: https://essjira.marvell.com/browse/IPBUSW-63189 Change-Id: I67bcb0c4fdc7bed08b42f19e3cd4bbc68fb61dd5 Signed-off-by: Monendra Singh Kushwaha <[email protected]> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/toolkits/vpp/+/147750 Tested-by: sa_ip-toolkits-Jenkins <[email protected]> Reviewed-by: Nithin Kumar Dabilpuram <[email protected]> (cherry picked from commit 77e2781ce06de12bf03c050b4ef95bd20dcf048d) Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/toolkits/vpp/+/147791 Tested-by: sa_ip-sw-jenkins <[email protected]>
1 parent 131b485 commit ca14795

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plugins/dev_octeon/rx_node.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,10 @@ oct_rx_vlib_from_cq (vlib_main_t *vm, oct_nix_rx_cqe_desc_t *d,
10141014
buffs[*buffer_next_index] = b[0];
10151015
next[*buffer_next_index] = ctx->next_index;
10161016
*buffer_next_index = *buffer_next_index + 1;
1017+
1018+
if (fp_flags & OCT_FP_FLAG_TRACE_EN)
1019+
clib_memcpy_fast (b[0]->pre_data, d, sizeof (oct_nix_rx_cqe_desc_t));
1020+
10171021
return 0;
10181022
}
10191023

0 commit comments

Comments
 (0)