On Tue, Apr 3, 2012 at 10:14 PM, Simon Horman <ho...@verge.net.au> wrote: > The STT protocol's header includes a field for the offset > to the start of the l4 header. It seems that this > is the value of the transport_offset of the original SKB and > making that value available to the update_header callback avoids > STT needing to calculate the offset. > > Signed-off-by: Simon Horman <ho...@verge.net.au>
Isn't it possible to quickly compute the L4 offset if you know the size of the header (which in STT is fixed)? I'm just trying to minimize the amount of protocol-specific code in the generic tunneling code as we add more protocols. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev