[P4-dev] Manipulating Table Entries in P4 program.

Mihai Budiu mbudiu at vmware.com
Mon Oct 15 11:37:26 EDT 2018


Standard P4 does not have any means for the data plane to change tables.
However, various architectures can provide extensions to enable this behavior if the hardware supports it.

In the v1model counters and registers are closest to what you want.

Mihai

From: P4-dev <p4-dev-bounces at lists.p4.org> On Behalf Of Kamal Bhatt
Sent: Monday, October 15, 2018 8:28 AM
To: p4-dev at lists.p4.org
Subject: [P4-dev] Manipulating Table Entries in P4 program.

Hello Everyone,
Although performing CRUD operations on the table entries is the responsibility of control plane, Still curious about if it is possible to do it in data plane in our P4 program as well.
For example, If I need to remove an entry from the table on receiving a specific flag in packet.

Thanks,
Kamal Bhatt.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20181015/a6a40b28/attachment.html>


More information about the P4-dev mailing list