I thus tried to disable the flowcache when running the
nfp4build command, but I got the same error as in
this other discussion:
/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"I tried to manually include the path to the flowcache directory as suggest in the discussion, but that did not work for me. What seemed to work was creating a symlink to
flow_cache_global_c.h in
/opt/netronome/p4/components/nfp_pif/me/apps/common/include. After that, the error for the import of
flow_cache_global_c.h disappears when running
nfp4build (which shows "
flowcache: disabled") but the original error about
FC_MAX_KEY_LEN_LW exceeding 23 is shown again. However. if the flowcache is correctly disabled, should this error not appear anymore?
Any pointers on how to correctly disable the flowcache, or about anything that can be done to solve the original error would be greatly appreciated!
Thank you!