[P4-dev] size not included in table properties validation?

Mihai Budiu mbudiu at vmware.com
Fri Oct 6 19:27:32 EDT 2017


"size" is not a standard property.
Each back-end can add to the list of properties it knows about.
For example, the bmv2 back-end adds the following properties:

        new P4::ValidateTableProperties({ "implementation", "size", "counters",
                                          "meters", "size", "support_timeout" }),

Mihai

From: P4-dev [mailto:p4-dev-bounces at lists.p4.org] On Behalf Of hemant at mnkcg.com
Sent: Friday, October 6, 2017 4:23 PM
To: p4-dev at lists.p4.org
Subject: [P4-dev] size not included in table properties validation?

Why does p4c/midend/validateProperties.h not include such a line?

/validateProperties.h

During compiling a backend, I get a "Unknown table property" for the table size.   We should fix this bug.

Thanks,

Hemant


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


More information about the P4-dev mailing list