[dts] [PATCH V1] tests/vf daemon fix make queues full fail

Liu, Yong yong.liu at intel.com
Mon Jun 11 07:14:22 CEST 2018


Meijuan,
Your git commit is not accurate, the number of descriptors are changed because of testpmd will use driver default setting. This value maybe changed as different NICs will have different settings. 

I recommend you to fix this value by testpmd "--rxd" parameters, thus this value can be aligned between all NICs.

Thanks,
Marvin

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhao,meijuan
> Sent: Monday, June 04, 2018 2:37 PM
> To: dts at dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao at intel.com>
> Subject: [dts] [PATCH V1] tests/vf daemon fix make queues full fail
> 
> dpdk18.05 change CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE as 512
> 
> Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
> ---
>  tests/TestSuite_vf_daemon.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py
> index 56fc4be..b5e9e99 100644
> --- a/tests/TestSuite_vf_daemon.py
> +++ b/tests/TestSuite_vf_daemon.py
> @@ -464,7 +464,7 @@ class Testvf_daemon(TestCase):
>          self.vf1_mac = self.vm1_testpmd.get_port_mac(0)
>          out = self.send_and_pmdout(self.vf1_mac, 0, 64, 2000)
>          out = self.vm1_testpmd.execute_cmd('show port stats 0')
> -        self.verify("RX-packets: 1023" in out,
> +        self.verify("RX-packets: 511" in out,
>              "Failed to let vf1 full of queues!!!")
>          out = self.send_and_pmdout(self.vf0_mac, 0, 64, 20)
>          out = self.vm0_testpmd.execute_cmd('show port stats 0')
> --
> 1.9.3



More information about the dts mailing list