From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BE7A6A0C53; Fri, 5 Nov 2021 13:31:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B28234113D; Fri, 5 Nov 2021 13:31:43 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 54E4341134 for ; Fri, 5 Nov 2021 13:31:42 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10158"; a="212633282" X-IronPort-AV: E=Sophos;i="5.87,211,1631602800"; d="scan'208";a="212633282" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2021 05:31:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,211,1631602800"; d="scan'208";a="450558790" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga006.jf.intel.com with ESMTP; 05 Nov 2021 05:31:41 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 5 Nov 2021 05:31:40 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 5 Nov 2021 20:31:38 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Fri, 5 Nov 2021 20:31:38 +0800 From: "Tu, Lijuan" To: "An, XiangX" , "dts@dpdk.org" CC: "An, XiangX" Thread-Topic: [dts] [PATCH V2 2/4] tests/vf_vlan: modify code to adapt avx512 Thread-Index: AQHX0UiDPnchB6nmF0e61z/FbEXhFqv03GWQ Date: Fri, 5 Nov 2021 12:31:38 +0000 Message-ID: <2fdd6428adad4da385c01ced912b2509@intel.com> References: <1636008699-16970-1-git-send-email-xiangx.an@intel.com> <1636008699-16970-2-git-send-email-xiangx.an@intel.com> In-Reply-To: <1636008699-16970-2-git-send-email-xiangx.an@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2 2/4] tests/vf_vlan: modify code to adapt avx512 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" > -----Original Message----- > From: dts On Behalf Of Xiang An > Sent: 2021=1B$BG/=1B(B11=1B$B7n=1B(B4=1B$BF|=1B(B 14:52 > To: dts@dpdk.org > Cc: An, XiangX > Subject: [dts] [PATCH V2 2/4] tests/vf_vlan: modify code to adapt avx512 >=20 > Based on dpdk commit:4b64ccb328 modify dts code to adapt avx512. >=20 > Signed-off-by: Xiang An > --- > tests/TestSuite_vf_vlan.py | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py inde= x > 127eca3..ff3e13f 100644 > --- a/tests/TestSuite_vf_vlan.py > +++ b/tests/TestSuite_vf_vlan.py > @@ -35,7 +35,7 @@ import time >=20 > from framework.packet import Packet > from framework.pmd_output import PmdOutput -from framework.settings > import get_nic_name > +from framework.settings import get_nic_name, load_global_setting, > +DPDK_RXMODE_SETTING > from framework.test_case import TestCase from framework.virt_common > import VM >=20 > @@ -346,7 +346,10 @@ class TestVfVlan(TestCase): > self.vm0_dut_ports =3D self.vm_dut_0.get_ports('any') >=20 > self.vm0_testpmd =3D PmdOutput(self.vm_dut_0) > - self.vm0_testpmd.start_testpmd(VM_CORES_MASK) > + if load_global_setting(DPDK_RXMODE_SETTING) =3D=3D 'avx512': > + self.vm0_testpmd.start_testpmd(VM_CORES_MASK, '--enable-rx-c= ksum') > + else: > + self.vm0_testpmd.start_testpmd(VM_CORES_MASK) > self.vm0_testpmd.execute_cmd('set fwd rxonly') > self.vm0_testpmd.execute_cmd('set verbose 1') > self.vm0_testpmd.execute_cmd('vlan set strip on 0') @@ -417,7 +4= 20,10 > @@ class TestVfVlan(TestCase): > if self.kdriver =3D=3D "i40e": > self.vm0_testpmd.start_testpmd(VM_CORES_MASK, '') > else: > - self.vm0_testpmd.start_testpmd(VM_CORES_MASK) > + if load_global_setting(DPDK_RXMODE_SETTING) =3D=3D 'avx512': > + self.vm0_testpmd.start_testpmd(VM_CORES_MASK, '--enable-= rx- > cksum') > + else: > + self.vm0_testpmd.start_testpmd(VM_CORES_MASK) AVX512 should have the same behavior with other path, is this a know issue= in dpdk21.11 ? if not, please submit a bug to dpdk.