[dts] [PATCH v2] tests/vf_interrupt_pmd:add more supported nic type

Tu, Lijuan lijuan.tu at intel.com
Tue Feb 25 02:28:03 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Yinan
> Sent: Monday, February 24, 2020 5:51 AM
> To: dts at dpdk.org
> Cc: Wang, Yinan <yinan.wang at intel.com>
> Subject: [dts] [PATCH v2] tests/vf_interrupt_pmd:add more supported nic
> type
> 
> From: Wang Yinan <yinan.wang at intel.com>
> 
> Signed-off-by: Wang Yinan <yinan.wang at 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



More information about the dts mailing list