[ovs-discuss] flow match reg0=1 is not working

Miroslav Kubiczek miroslav.kubiczek at adaptivemobile.com
Wed May 27 09:24:24 UTC 2020


Hi,

I'd like to configure flows to use different table based on packet size. 
I have configured the flows like this:

#ovs-ofctl dump-flows br0
...
cookie=0x0, table=0, priority=20000 
actions=check_pkt_larger(100)->NXM_NX_REG0[0],resubmit(,1)
cookie=0x1, table=1, priority=1000,udp,reg0=0,tp_dst=2123 
actions=resubmit(,2)
...

The problem is that the 2nd flow is always positive, i.e. it's always 
resubmitted to table 2. I tried it also with reg0=1 but it has the same 
effect. Am I doing anything wrong or is it a bug?

Any help is appreciated.

Regards,

Miro




More information about the discuss mailing list