[P4-dev] packet rate

mostafa ammar mostafaammar79 at gmail.com
Sat Oct 14 07:38:23 EDT 2017


Dear All,


How can we make the switch calculate the rate of packets, for example
switch start dropping traffic if specific flow of packets rate exceeds 300
packets per second. I have seen the heavy_hitter example, it calculates the
number of packets but I did not notice the period of calculation so the
counter is reset after specific period.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20171014/e450822a/attachment-0002.html>


More information about the P4-dev mailing list