[ovs-discuss] Matcthing parameters for exact flow entry for particular packet

Ben Pfaff blp at nicira.com
Tue Sep 29 17:47:50 UTC 2015


On Mon, Sep 28, 2015 at 02:42:01PM +0530, neeraj mehta wrote:
> I want to check the packet hit over a flow entry. For example I have two
> flow entries as below
> 
> priority=10,dl_src=00:00:11:22:33:44, dl_dst=00:00:00:33:44:55
> dl_type=0x0800 nw_proto=6 actions=2
> priority=10,dl_src=00:00:11:22:33:44, dl_dst=00:00:00:33:44:55 dl_type=*
> nw_proto=* actions=drop
> 
> Which flow entry should hit first? If I send TCP packet with same matching
> fields.

Priorities are the right way to indicate a preference among two or more
flows that could all match a single packet.  Otherwise, which flow
matches is unpredictable.



More information about the discuss mailing list