Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tunneling: Calculate and update packet l4_offset in tunnel push.
The following tunnel combine patch series avoids the packets recirculation after the tunnel push. So it is necessary to populate all relevant packet meta data fields for the following combined action-set. Consider a chained tunnel test case shown below, PKT-IN --> TUNNEL_PUSH --> MOD_PKT_HDR --> TUNNEL_POP In this eg: the last tunnel_pop operation uses the l4_offset in the packet to validate the packets. So it must be calculated and updated in the packet before executing the action. Since there is no recirculation now on, this calculation is doing as part of tunnel_push. Signed-off-by: Sugesh Chandran <[email protected]> Signed-off-by: Zoltán Balogh <[email protected]> Co-authored-by: Zoltán Balogh <[email protected]> Signed-off-by: Joe Stringer <[email protected]>
- Loading branch information