Re: [ovs-dev] [PATCH branch-2.8 1/1] tc flower: reorder tunnel encap/decap actions

2018-01-26 Thread Simon Horman
On Thu, Jan 25, 2018 at 03:23:21PM +, John Hurley wrote: > The tc_flower conversion struct does not consider the order of actions. > If an OvS rule matches on a tunnel (decap) and outputs to a new tunnel, > the netlink conversion to TC will add the set tunnel key action before the > unset, lead

[ovs-dev] [PATCH branch-2.8 1/1] tc flower: reorder tunnel encap/decap actions

2018-01-25 Thread John Hurley
The tc_flower conversion struct does not consider the order of actions. If an OvS rule matches on a tunnel (decap) and outputs to a new tunnel, the netlink conversion to TC will add the set tunnel key action before the unset, leading to an incorrect TC rule. This patch reorders the netlink generati