[dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:optimize code

Tu, Lijuan lijuan.tu at intel.com
Tue Feb 18 08:09:40 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Haiyang Zhao
> Sent: Tuesday, February 18, 2020 12:23 PM
> To: dts at dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao at intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:optimize code
> 
> *.In some test env, the function get_core_list return cores
>   not as much as we expected, so use all.
> 
> Signed-off-by: Haiyang Zhao <haiyangx.zhao at intel.com>
> ---
>  tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> index 6a76bb2..bf97a91 100644
> --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> @@ -91,7 +91,7 @@ class TestVhostVirtioPmdInterrupt(TestCase):
>          self.verify(self.cores_num >= (self.nb_cores + 1),
>                      "There has not enough cores to running case: %s" %
>                      self.running_case)
> -        self.core_list = self.dut.get_core_list(core_config,
> +        self.core_list = self.dut.get_core_list('all',
>                                      socket=self.ports_socket)
> 
>      def prepare_vm_env(self):
> --
> 2.17.1



More information about the dts mailing list