test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v2] tests/vf_interrupt_pmd:add more supported nic type
@ 2020-02-23 21:50 Yinan
  2020-02-25  1:28 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Yinan @ 2020-02-23 21:50 UTC (permalink / raw)
  To: dts; +Cc: Wang Yinan

From: Wang Yinan <yinan.wang@intel.com>

Signed-off-by: Wang Yinan <yinan.wang@intel.com>
---
 tests/TestSuite_vf_interrupt_pmd.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_vf_interrupt_pmd.py b/tests/TestSuite_vf_interrupt_pmd.py
index 21b24a1..42dfc02 100644
--- a/tests/TestSuite_vf_interrupt_pmd.py
+++ b/tests/TestSuite_vf_interrupt_pmd.py
@@ -319,7 +319,8 @@ class TestVfInterruptPmd(TestCase):
         """
         Check Interrupt for VF with vfio driver, need test with i40e driver
         """
-        self.verify(self.nic in ("fortville_spirit"), "the port can not run this suite")
+        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
+                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic port not support vf multi-queues interrupt" % self.nic)
         self.queues = 4
         self.prepare_l3fwd_power(self.dut)
         self.set_NIC_link()
@@ -349,7 +350,8 @@ class TestVfInterruptPmd(TestCase):
         """
         Check for interrupts within the VM, need test with i40e driver
         """
-        self.verify(self.nic in ("fortville_spirit"), "the port can not run this suite")
+        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
+                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not support vf multi-queues interrupt" % self.nic)
         self.setup_vm_env()
         self.vm0_dut.send_expect("ip link set %s vf 0 mac %s" %
                                  (self.host_intf0, self.vf0_mac), "# ")
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH v2] tests/vf_interrupt_pmd:add more supported nic type
  2020-02-23 21:50 [dts] [PATCH v2] tests/vf_interrupt_pmd:add more supported nic type Yinan
@ 2020-02-25  1:28 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-02-25  1:28 UTC (permalink / raw)
  To: Wang, Yinan, dts; +Cc: Wang, Yinan

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan
> Sent: Monday, February 24, 2020 5:51 AM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v2] tests/vf_interrupt_pmd:add more supported nic
> type
> 
> From: Wang Yinan <yinan.wang@intel.com>
> 
> Signed-off-by: Wang Yinan <yinan.wang@intel.com>
> ---
>  tests/TestSuite_vf_interrupt_pmd.py | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_vf_interrupt_pmd.py
> b/tests/TestSuite_vf_interrupt_pmd.py
> index 21b24a1..42dfc02 100644
> --- a/tests/TestSuite_vf_interrupt_pmd.py
> +++ b/tests/TestSuite_vf_interrupt_pmd.py
> @@ -319,7 +319,8 @@ class TestVfInterruptPmd(TestCase):
>          """
>          Check Interrupt for VF with vfio driver, need test with i40e driver
>          """
> -        self.verify(self.nic in ("fortville_spirit"), "the port can not run this suite")
> +        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic port not
> support vf multi-queues interrupt" % self.nic)
>          self.queues = 4
>          self.prepare_l3fwd_power(self.dut)
>          self.set_NIC_link()
> @@ -349,7 +350,8 @@ class TestVfInterruptPmd(TestCase):
>          """
>          Check for interrupts within the VM, need test with i40e driver
>          """
> -        self.verify(self.nic in ("fortville_spirit"), "the port can not run this suite")
> +        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not supp
> ort vf multi-queues interrupt" % self.nic)
>          self.setup_vm_env()
>          self.vm0_dut.send_expect("ip link set %s vf 0 mac %s" %
>                                   (self.host_intf0, self.vf0_mac), "# ")
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-25  1:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-23 21:50 [dts] [PATCH v2] tests/vf_interrupt_pmd:add more supported nic type Yinan
2020-02-25  1:28 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).