[ovs-dev] [PATCH 16/19] odp-util: commit_set_nw_action: use flow's encap_dl_type

Ben Pfaff blp at nicira.com
Wed Dec 26 18:12:20 UTC 2012


On Mon, Dec 24, 2012 at 11:35:22AM +0900, Simon Horman wrote:
> If the encap_dl_type is set then it indicates information about the
> dl_type of an encapsulated frame and should be used when decoding
> L3 and L4 information.
> 
> Signed-off-by: Simon Horman <horms at verge.net.au>

This changes commit_set_nw_action() to look at the "innermost"
dl_type, right?  That is, if there's an outer and an inner type, it
looks at the inner type, and if there's only one type it looks at
that.

If I've got that right then a helper function documented to do just
that might be in order.



More information about the dev mailing list