[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] Matcthing parameters for exact flow entry for particular packet
From:       blp () nicira ! com (Ben Pfaff)
Date:       2015-09-29 17:47:50
Message-ID: 20150929174750.GE30384 () nicira ! com
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic