[ovs-dev] [branch-2.3 V2] recirculation: Do not drop packet when there is no match from internal table.

Alex Wang alexw at nicira.com
Mon Dec 15 22:58:50 UTC 2014


Hey Yamamoto,


> what will happen if the receiving bridge also has a bond port?
>
> YAMAMOTO Takashi
>


For each 'balance-tcp' bond, it will have a unique 'recirc_id'.

If the receiving bridge has a 'balance-tcp' bond with recirc_id=ABCD,
the bridge's internal table (Table 254) will contain flows matching on
this one 'recirc_id' and different 'dp_hash' values.

If the flow miss does not have 'recirc_id' (i.e. recirc_id == 0), lookup
will
start from Table 0.

If the flow miss has 'recirc_id' == ABCD, it will match one of the rules in
internal table and get output to the corresponding interface.

If the flow miss has 'recirc_id' != ABCD, it will match the the rule in bold
below, then lookup from Table 0, continue on the pipeline until reaching
the bridge with the 'recirc_id'.

priority=2,recirc_id=0,actions=drop
*priority=1,actions=resubmit(,0)*

Thanks,
Alex Wang,



More information about the dev mailing list