I have been looking into P4 meters which I could use as a traffic rate limiter for my application. I stumbled across this P4 meter example in P4-Learning GitHub Repo. From the Runtime CLI, when we execute:
It would be good to clarify what it is that you would like to know how it works.
If you want to know how P4 meters work, these things are often also called “policers”, and there are these two RFCs that I would recommend reading to learn how they operate: