[dts] [PATCH v2] tests/TestSuite_vf_interrupt_pmd:add nic carlsville

Tu, Lijuan lijuan.tu at intel.com
Tue Apr 21 05:31:47 CEST 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xu, Hailin
> Sent: Monday, April 20, 2020 4:53 PM
> To: dts at dpdk.org
> Cc: Xu, HailinX <hailinx.xu at intel.com>
> Subject: [dts] [PATCH v2] tests/TestSuite_vf_interrupt_pmd:add nic carlsville
> 
> From: "xu,hailin" <hailinx.xu at intel.com>
> 
> carlsville driver is i40e, so the nic support the suite.
> 
> Signed-off-by: xu,hailin <hailinx.xu at intel.com>
> ---
>  tests/TestSuite_vf_interrupt_pmd.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_vf_interrupt_pmd.py
> b/tests/TestSuite_vf_interrupt_pmd.py
> index dde20a0..55a8e3d 100644
> --- a/tests/TestSuite_vf_interrupt_pmd.py
> +++ b/tests/TestSuite_vf_interrupt_pmd.py
> @@ -319,7 +319,7 @@ class TestVfInterruptPmd(TestCase):
>          """
>          Check Interrupt for VF with vfio driver, need test with i40e driver
>          """
> -        self.verify(self.nic in ['fortville_eagle', 'fortville_spirit',
> 'fortville_spirit_single', 'fortpark_TLV',"fortpark_BASE-T"], '%s nic port not
> support vf multi-queues interrupt' % str(self.nic))
> +        self.verify(self.nic in ['fortville_eagle', 'fortville_spirit',
> 'fortville_spirit_single', 'fortpark_TLV',"fortpark_BASE-T", 'carlsville'], '%s nic
> port not support vf multi-queues interrupt' % str(self.nic))
>          self.queues = 4
>          self.prepare_l3fwd_power(self.dut)
>          self.set_NIC_link()
> @@ -349,7 +349,7 @@ class TestVfInterruptPmd(TestCase):
>          """
>          Check for interrupts within the VM, need test with i40e driver
>          """
> -        self.verify(self.nic in ['fortville_eagle', 'fortville_spirit',
> 'fortville_spirit_single','fortpark_TLV', 'fortpark_BASE-T'], '%s nic port not
> support vf multi-queues interrupt' % str(self.nic))
> +        self.verify(self.nic in ['fortville_eagle', 'fortville_spirit',
> 'fortville_spirit_single','fortpark_TLV', 'fortpark_BASE-T', 'carlsville'], '%s nic
> port not support vf multi-queues interrupt' % str(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), "# ")
> --
> 1.8.3.1



More information about the dts mailing list