[P4-dev] Looping in P4, Apply table multiple times and Timers?

Huynhtu Dang huynh.tu.dang at usi.ch
Tue Jun 28 16:53:38 EDT 2016

Thanks, Javier, David.

The workaround with packet recirculation sounds plausible. Maybe, looping should be added to the language construct.
As David suggested, a controller could set up a timer process to trigger events that remove or add table entries, ask the switch to send packets out of some ports, etc.,

Tu Dang

On Jun 28, 2016, at 10:30 PM, Javier Blazquez <jblazquez at riotgames.com<mailto:jblazquez at riotgames.com>> wrote:

You can always recirculate a packet in order to apply a control flow / action / table to it multiple times.

Can you elaborate on what you mean by "timers to fire an action"?

On Tue, Jun 28, 2016 at 1:02 PM, Huynhtu Dang <huynh.tu.dang at usi.ch<mailto:huynh.tu.dang at usi.ch>> wrote:
Dear all,

My goal is to get the values of a dynamic range of register elements. I’m facing with several obstacles that I wonder if someone has already experienced.
- Looping within a compound action or the control flow in P4
- Apply a table multiple times
- Timers to fire an action

Looking forward to your advices.

Tu Dang

P4-dev mailing list
P4-dev at lists.p4.org<mailto:P4-dev at lists.p4.org>

More information about the P4-dev mailing list