[ovs-dev] [PATCH 15/19] flow: Split flow_extract

Simon Horman horms at verge.net.au
Wed Dec 26 22:46:34 UTC 2012


On Wed, Dec 26, 2012 at 10:08:47AM -0800, Ben Pfaff wrote:
> On Mon, Dec 24, 2012 at 11:35:21AM +0900, Simon Horman wrote:
> > Split the L3 and above portion of flow_extract() out into
> > flow_extract_l3_onwards() and call flow_extract_l3_onwards()
> > from flow_extract().
> > 
> > This is to allow re-extraction of l3 and higher information using
> > flow->encap_dl_type which may be set using information contained
> > in actions.
> > 
> > Signed-off-by: Simon Horman <horms at verge.net.au>
> 
> This seems quite reasonable.
> 
> If flow_extract_l3_onwards() took the desired dl_type as a parameter,
> rather than looking for it in flow->encap_dl_type, then I believe that
> I could apply this now without needing the rest of the series.

Sure, I'll make that change and repost.



More information about the dev mailing list