On Tue, Jan 10, 2012 at 10:47:23PM +0530, Amit Tewari wrote:
> I am currently into analyzing ovs code flow for rule matching in flow tables 
> when a packet arrives.
> 1.when a packet arrives and no matching exact match flow is found in datapath 
> then a facet is created in userspace. this facet has follwing members
> facet->rule and facet->flow.
> facet->flow is exact match flow that is installed in datapath using 
> facet->install 
> 
> 2. Now if the facet->rule (matched with packet flow) has modifying actions 
> for example strip_vlan, then as per do_xlate_actions routine i found that all 
> modifying actions are applied on facet->flow.
> 
> 3. Now this modified facet->flow is installed in datapath.
> 
> Im confused why facet->flow is modified for modifying actions, as per me 
> these actions should be applied on packet. 

They are applied to the packet, through the actions added to the flow
in the datapath.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to