I’m using the latest Development VM released in April and working on p4-learning repo.
I’ve read the BMv2 Simple Switch article and also looked into the multiqueuing.p4 example. They all said that if I want to use multiple priority queues, I have to uncomment the line:
But when I go to the
simple_switch.h file at the directory
/home/vagrant/behavioral-model/targets/simple_switch, I can’t find the above line, what I saw is in the following image:
So my question is do I need to type the line
#define SSWITCH_PRIORITY_QUEUEING_ONlike you see in the image, then compile and install bmv2 again to use the feature?
Also when I scroll down, I see this:
Am I supposed to changes the
default_nb_queues_per_port = 1 to another value? Does changing this value has the same effect as I use multiple priority queues?
So far I’ve added the line mentioned above and also compiled and installed bmv2 again but when I test the multiqueuing.p4 example, just only 1 flow can send to h3, the other flow has no information on the iperf server on h3. Do you have any solution?