Network Measurement with P4 and C on Netronome NFP
Yan Luo Xiaoban Wu
Network measurement has been playing a crucial role in network operations since it not only detects the anomalies, but also facilitates traffic engineering. With the recent development of the P4 language, network measurement is one of the data plane applications that can benefit from the programmability enabled by P4. However, P4 does not support general purpose language structures such as for-loop, and the if-statement can only be used in its control block, and it has only a limited set of primitive actions.