[ovs-dev] [PATCH v3 2/2] Add test cases for ingress_policing parameters

Simon Horman simon.horman at netronome.com
Tue Apr 13 17:16:44 UTC 2021


On Tue, Apr 13, 2021 at 03:54:32PM +0200, Simon Horman wrote:
> On Tue, Apr 13, 2021 at 09:06:16PM +0800, Tonghao Zhang wrote:
> > On Fri, Apr 9, 2021 at 7:52 PM Simon Horman <simon.horman at netronome.com> wrote:
> > >
> > > From: Tianyu Yuan <tianyu.yuan at corigine.com>
> > >
> > > tests/ovs-vsctl.at: Add ingress_policing test in ovs-vsctl unit test
> > > tests/system-offloads-traffic.at: Check ingress_policing with offloads enabled and disabled
> > >
> > > Exercise OVS setting of ingress_policing parameters using ovs-vsctl and verify that the correct values are stored on OVSDB.
> > > Verify the ingress_policing parameters with tc command. Also check offload and non-offload in tc software datapath based on tc filter type (matchall and basic).
> > >
> > > Example invocation:
> > > make check TESTSUITEFLAGS='-k ingress_policing'
> > > make check-offloads TESTSUITEFLAGS='-k ingress_policing'
> > >
> > > Signed-off-by: Tianyu Yuan <tianyu.yuan at corigine.com>
> > > Signed-off-by: Simon Horman <simon.horman at netronome.com>
> > > Signed-off-by: Louis Peens <louis.peens at netronome.com>
> > Reviewed-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> 
> Thanks, pushed to master.
> 
> I will also work on backporting this to branch 2.14, 2.13 and 2.12.

Backports to branches 2.12 - 2.15 also pushed.


More information about the dev mailing list