I want to know what effect will the replacement of P4 program have on the switch when the switch is running?
I do experiments in bmv2. When the switch performs forwarding tasks, use simple_ switch_ CLI: The “load_new_config_file” and “swap_configs” commands switch the compiled P4 program. I find that there is no packet loss, and the throughput is almost unchanged. I think that replacing the data plane program should temporarily interrupt the running of the switch, but it seems that this is not the case.