[ovs-discuss] Packets not forwarded to queues after hitting flows in OVS QoS

Ben Pfaff blp at ovn.org
Tue Dec 13 20:54:22 UTC 2016


On Tue, Dec 13, 2016 at 08:40:41PM +0100, Santhosh R P wrote:
> When I add a flow like this,
> 
> ovs-ofctl add-flow test priority=2000,in_port=2,actions=set_queue:1,normal
> 
> ovs-dpctl dump-flows shows this (captured during the test):
> 
> recirc_id(0),skb_priority(0),in_port(3),eth(src=52:54:00:3e:2c:cf,dst=90:1b:0e:06:0e:c4),eth_type(0x0800),ipv4(frag=no),
> packets:21617, bytes:904012530, used:0.000s, flags:SP.,
> actions:set(skb_priority(0x10002)),2
> recirc_id(0),in_port(2),eth(src=90:1b:0e:06:0e:c4,dst=00:00:5e:00:01:01),eth_type(0x0800),ipv4(frag=no),
> packets:21652, bytes:904023433, used:0.000s, flags:SP., actions:1
> 
> I see that the packet from VM1 in in_port(3) is set with
> skb_priority(0x10002) and sent to port 2. Here, masquerading takes place
> and the packet is sent out from the host at port 1. Before the packet
> reaches the created egress queues, the skb_priority is reset. The
> masqueraded packet reaches the default queue and no QoS takes place.

If you have IP masquerading configured, and masquerading resets the
skb_priority, then I'm not sure what OVS can do about that.  What do you
suggest?


More information about the discuss mailing list