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

Tu, Lijuan lijuan.tu at intel.com
Mon Apr 20 07:21:58 CEST 2020


Applied, thanks

> -----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