nsg-ethz/p4-learning

How Count-Min Sketch implement on bmv2?

KekeZheng opened this issue · 0 comments

Hello, in the example of Count-Min Sketch, whether each row of the sketch is placed in a different stage of the pipeline or in the same stage? I am a little confused about the relationship between the p4 program and the stage, can we use P4 program to control the use of stage? I have seen before that there are some differences between bmv2 and Tofino. Is there no stage concept on bmv2? Because it seems that only one stage can be accessed at a time on the RMT architecture, in this case, should a sketch be split into multiple stages for deployment?
Thank you in advance for taking the time to answer the question.