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

Kamal Bhatt Kamal.Bhatt at stordis.com
Tue Oct 16 09:46:55 EDT 2018


Forgot to add p4-dev.

From: Kamal Bhatt
Sent: 16 October 2018 15:45
To: 'Mihai Budiu' <mbudiu at vmware.com>
Subject: RE: Manipulating Table Entries in P4 program.

Thanks Mihai,
Please can you elaborate a bit more on that, Perhaps with the help of some code or so.

Thanks.
From: Mihai Budiu <mbudiu at vmware.com<mailto:mbudiu at vmware.com>>
Sent: 15 October 2018 17:37
To: Kamal Bhatt <Kamal.Bhatt at stordis.com<mailto:Kamal.Bhatt at stordis.com>>; p4-dev at lists.p4.org<mailto:p4-dev at lists.p4.org>
Subject: RE: Manipulating Table Entries in P4 program.

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<mailto: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<mailto: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/20181016/137578a3/attachment.html>


More information about the P4-dev mailing list