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

Ma, LihongX lihongx.ma at intel.com
Thu Apr 16 10:03:04 CEST 2020


Tested-by: ma,lihong<lihongx.ma at intel.com>

Regards,
Ma,lihong


-----Original Message-----
From: Yu, PingX 
Sent: Thursday, April 16, 2020 4:02 PM
To: Xu, HailinX <hailinx.xu at intel.com>; Ma, LihongX <lihongx.ma at intel.com>
Cc: Xu, HailinX <hailinx.xu at intel.com>
Subject: RE: [dts] [PATCH v1] tests/TestSuite_vf_kernel:add nic carlsville.

Lihong, FYI.



Regards,
Yu Ping

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xu hailin
Sent: Wednesday, April 15, 2020 7:21 PM
To: dts at dpdk.org
Cc: Xu, HailinX <hailinx.xu at intel.com>
Subject: [dts] [PATCH v1] tests/TestSuite_vf_kernel:add nic carlsville.

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