[dts] [PATCH v1] tests/TestSuite_vf_kernel:add nic carlsville.

Xu hailin hailinx.xu at intel.com
Wed Apr 15 13:20:54 CEST 2020


From: xuhailin <hailinx.xu at intel.com>

carlsville driver is i40e, so config port mtu 3000.

Signed-off-by: xuhailin <hailinx.xu at intel.com>
---
 tests/TestSuite_vf_kernel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 tests/TestSuite_vf_kernel.py

diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
old mode 100644
new mode 100755
index 00634c4..f5a5038
--- a/tests/TestSuite_vf_kernel.py
+++ b/tests/TestSuite_vf_kernel.py
@@ -560,7 +560,7 @@ class TestVfKernel(TestCase):
         self.verify(self.dmac.upper() in out, "PF can't receive packet")
 
         # Change kernel VF mtu as 3000,check no confusion/crash on DPDK PF
-        if self.nic.startswith('fortville'):
+        if self.nic.startswith('fortville') or self.nic.startswith('carlsville'):
             self.vm0_dut.send_expect(
                 "ifconfig %s mtu 3000" % self.vm0_intf0, "#")
 
-- 
2.17.1



More information about the dts mailing list