[ovs-dev] [PATCH ovn v3 08/10] expr: Make expr_to_flows() include conj_id flows.

Justin Pettit jpettit at nicira.com
Thu Apr 30 01:08:58 UTC 2015


> On Apr 24, 2015, at 3:34 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> When I wrote expr_to_flows() originally, I assumed that the caller could
> simply add an appropriate conj_id=X flow for each of the conjunctive
> matches.  I forgot that the conj_id=X flows also need to include
> prerequisites for actions, e.g. if the OpenFlow actions manipulate TCP
> fields, then the conj_id=X field must match on eth_type=0x800 and
> ip_proto=6.  That's hard for the caller to generate itself, so this commit
> changes expr_to_matches() to generate the conj_id=X flows also.
> 
> Signed-off-by: Ben Pfaff <blp at nicira.com>

Acked-by: Justin Pettit <jpettit at nicira.com>

--Justin





More information about the dev mailing list