On 8/4/22 09:18, Simon Horman wrote: > On Wed, Aug 03, 2022 at 12:32:46PM +0200, Vlad Buslov wrote: >> Referenced commit changed policer action type from TC_ACT_UNSPEC (continue) >> to TC_ACT_PIPE. However, since neither TC hardware offload layer nor mlx5 >> driver at the time validated action type and always assumed 'continue', the >> breakage wasn't caught until later validation code was added. The change >> also broke valid configuration when sending from offload-capable device to >> non-offload capable. For example, when sending from mlx5 VF to OvS bridge >> netdevice the traffic that passed matchall classifier with policer could no >> longer match the following flower rule in software: > > ... > >> Notes: >> Changes V2 -> V3: >> >> - Refactored the fix to set action TC_ACT_UNSPEC only for matchall/basic >> classifiers. >> >> Changes V1 -> V2: >> >> - Rebase on latest master. > > ... > > Hi Vlad, > > thanks for addressing our concerns. We have reviewed and tested this patch > and do not observe any problems for our use-cases: in particular mirred > after meter (police). > > Acked-by: Simon Horman <simon.hor...@corigine.com> > > I'd also be happy to apply this to the upstream tree > if there are no objections from others.
No objections from my side. Regarding backports, AFAICT, we'll need that change down to 2.16, right? Can code from v1 be used on 2.17 and 2.16 or do we need a separate backport patch? Best regards, Ilya Maximets. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev