Question abou the "disable the lookup/flow cache"

97 views
Skip to first unread message

JJ W

unread,
Aug 31, 2023, 7:24:00 AM8/31/23
to open-nfp
Hi everyone,

I want to disable the lookup/flow cache, but I don`t know where to disable it. I am using the CLI instead of the GUI windows.

So do you know where to disable the lookup/flow cache?

I appreciate your help and answer!
Best regards

JJ W

unread,
Aug 31, 2023, 9:55:14 AM8/31/23
to open-nfp
hello, 
I use the  --nfp4c_p4_version 16 --no-debug-info -p out -o firmware.nffw -l beryllium -4 l3_basic.p4 -d flowcache, but shows me /opt/netronome/p4/components/nfp_pif/me/apps/common/src/fc.c(8) : catastrophic error: could not open source file "flow_cache_global_c.h"
  #include <flow_cache_global_c.h>

how can I fix it?
Thank you for your help
Best regards

JJ W

unread,
Aug 31, 2023, 10:36:15 AM8/31/23
to open-nfp
I fix it now
best regards~

Rui Monteiro

unread,
Mar 13, 2024, 10:22:20 AM3/13/24
to open-nfp
Hello,

Can you provide any insight in how you solved this particular issue?

Thank you in advance,
Rui

Rui Monteiro

unread,
Mar 25, 2024, 6:04:10 AM3/25/24
to open-nfp
For future reference, in case someone ever finds the same problem, the error is caused by the missing import of "$(SDKP4DIR)/components/flowcache/me/lib/flowcache".
To solve it, just manually include this path with the "--include" flag when disabling flow cache and running the nfp4build command.
Reply all
Reply to author
Forward
0 new messages