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

hemant at mnkcg.com hemant at mnkcg.com
Fri Oct 6 19:40:38 EDT 2017


Why are two "sizes" are used in the example below?

 

From: Mihai Budiu [mailto:mbudiu at vmware.com] 
Sent: Friday, October 06, 2017 7:28 PM
To: hemant at mnkcg.com; p4-dev at lists.p4.org
Subject: RE: [P4-dev] size not included in table properties validation?

 

"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 <mailto:hemant at mnkcg.com> 
Sent: Friday, October 6, 2017 4:23 PM
To: p4-dev at lists.p4.org <mailto: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/c4a5afcd/attachment-0002.html>


More information about the P4-dev mailing list