[ovs-discuss] Priority of flows in openvswitch code

Ben Pfaff blp at nicira.com
Tue Mar 17 18:43:04 UTC 2015


On Wed, Mar 18, 2015 at 12:11:36AM +0530, Sumit Paliwal wrote:
> (1) if I have to differentiate two flows having same source and destination
> but different next hop, on which value I can?

What?

> (2) when i'm using the ovs-ofctl dump-flows s1 command, it shows the
> priority of flows as 55555, which I've sent from the controller. So it
> means, it have stored it somewhere, right!!. While compiling I'm using the
> "./configure --with-linux=/lib/modules/`uname -r`/build " , so i've taken
> care that it is a kernel implementation in the system. Then Why is the
> priority reflected overthere.

The priority is not stored in the kernel, so you will not have any
luck looking for it there.

> (3) In sw_flow_key structure, it has a "u32 priority" variable declared,
> what is that used for?

As the comment says, it is a QoS priority.



More information about the discuss mailing list