What this PR does / why we need it:
Having data plane wait for the initial table manipulations done by control plane, we can get rid of the race between handling first arriving packets and installing default actions + user-defined portmaps.
This is quite naive implementation using global var ctrl_is_initialized just to make it simple and clarify the idea. If you would agree with the synchronization idea but not much for ctrl_is_initialized, please let me hear your suggestion.
What this PR does / why we need it: Having data plane wait for the initial table manipulations done by control plane, we can get rid of the race between handling first arriving packets and installing default actions + user-defined portmaps.
This is quite naive implementation using global var
ctrl_is_initialized
just to make it simple and clarify the idea. If you would agree with the synchronization idea but not much forctrl_is_initialized
, please let me hear your suggestion.Please review, thanks.