NVFMSA-5808 [BUG] | Fixed function manager fails with p4ovs set pipeline (#517)
Issue:
fixed function manager fails with p4-ovs set pipeline command.
Root Cause:
Fixed function manager is initialized with p4ovs server startup. With set pipeline command also, fixed function manager is getting initialized, this leads to device add failure.
Fix:
Added a global variable "is_skip_fix_func_mgr_init" to avoid re-initilization of fix function manager.
Initially this flag set to "false", set to "true" after fixed function manager initialization.
And also, adding fixed function tdi.json files with program name $SHARED and parsing as part of TDI device addition when p4 program/pipeline not set.
NVFMSA-5808 [BUG] | Fixed function manager fails with p4ovs set pipeline (#517)
Issue: fixed function manager fails with p4-ovs set pipeline command.
Root Cause: Fixed function manager is initialized with p4ovs server startup. With set pipeline command also, fixed function manager is getting initialized, this leads to device add failure.
Fix: Added a global variable "is_skip_fix_func_mgr_init" to avoid re-initilization of fix function manager. Initially this flag set to "false", set to "true" after fixed function manager initialization.
And also, adding fixed function tdi.json files with program name $SHARED and parsing as part of TDI device addition when p4 program/pipeline not set.