[P4-dev] Help regarding implementing a counter in P4_16

Rakesh Datta rakesh.datta6 at gmail.com
Tue Jun 13 02:06:13 EDT 2017

Hello All,

I am trying to design a counter similar to the one mentioned in '

I am running the compiled P4 code on top of bmv2. However, I am getting an
error saying, 'Unknown primitive action: count'.
Most likely, the counters are designed in a different way (extern) in P4_16.

Can somebody please guide me how to code a counter in P4_16.

Thanks 'n' Regards,
Rakesh Datta

+1 6692628019 (USA)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170612/ed2a6086/attachment-0002.html>

More information about the P4-dev mailing list