[dts] [PATCH V2 2/2] tests/iavf_fdir: create rules with less consumption of TCAM rule in suite

Tu, Lijuan lijuan.tu at intel.com
Mon Oct 25 09:57:32 CEST 2021


> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Jiale Song
> Sent: 2021年10月11日 18:04
> To: dts at dpdk.org
> Cc: Jiale, SongX <songx.jiale at intel.com>
> Subject: [dts] [PATCH V2 2/2] tests/iavf_fdir: create rules with less consumption
> of TCAM rule in suite
> 
> modify the suite according to the testplan
> 
> Signed-off-by: Jiale Song <songx.jiale at intel.com>
> ---
>  tests/TestSuite_iavf_fdir.py | 66 +++++++++++++++++++++++-------------
>  1 file changed, 42 insertions(+), 24 deletions(-)
> 
> diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py index
> 7f8dace..44fcb95 100755
> --- a/tests/TestSuite_iavf_fdir.py
> +++ b/tests/TestSuite_iavf_fdir.py
> @@ -8349,6 +8349,9 @@ class TestIAVFFdir(TestCase):
>          create same rules on pf and vf, no conflict
>          """
>          self.dut.kill_all()
> +        self.dut.send_expect("rmmod ice", "# ", 15)
> +        self.dut.send_expect("modprobe ice", "# ", 15)

I don't think there is necessary to rmmod ice. DTS should not do this, it will impact other devices.



More information about the dts mailing list