Hi Is linear search a searching method for vswitchd flow table?
I filled the following command to vswitchd flow table. Experiment 1. (in_port1, priority=65000) ovs-ofctl add-flow s1 "table=0 priority=65000 in_port=1 actions=ouitput:2" ovs-ofctl add-flow s1 "table=0 priority=3 in_port=3 actions=drop" ovs-ofctl add-flow s1 "table=0 priority=4 in_port=4 actions=drop" ovs-ofctl add-flow s1 "table=0 priority=5 in_port=5 actions=drop" ... Experiment2. (in_port1, priority=0) ovs-ofctl add-flow s1 "table=0 priority=0 in_port=1 actions=ouitput:2" ovs-ofctl add-flow s1 "table=0 priority=3 in_port=3 actions=drop" ovs-ofctl add-flow s1 "table=0 priority=4 in_port=4 actions=drop" ovs-ofctl add-flow s1 "table=0 priority=5 in_port=5 actions=drop" ... After establishing as above, I sent packet from port=1 to port=2. And measured time of departure and time of arrival to wireshark. However, against my expectation, the time which packet takes to reach was pretty much the same at two experiments. Why does these result comes out? Shouldn't we have to search in regular order of flow table?(In concordance with the priority, ex. 0,1,2,...65000) Thank U _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev