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 B1F01A0C47; Tue, 26 Oct 2021 08:48:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A57FA40A4B; Tue, 26 Oct 2021 08:48:56 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 6ACBC4003E for ; Tue, 26 Oct 2021 08:48:55 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10148"; a="216746571" X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="216746571" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2021 23:48:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="486014295" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga007.jf.intel.com with ESMTP; 25 Oct 2021 23:48:36 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 25 Oct 2021 23:48:36 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 25 Oct 2021 23:48:35 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 25 Oct 2021 23:48:35 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.46) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 25 Oct 2021 23:48:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YRdv5S5rQM7d3yvZg24NvuEdxjtsB7L+p4ORv1nrTiA391QkZZm58QcKB0eJiWjRB1l21OtDvlYRPXw635CZWJ2/XokulxF1JLzyVbyZKQQbHhqZD45+hl/EnJzYS4n85Yol3HvUuDzwPqh4TUCskcnttx5/suC87xh4hJ8oSOzibDIrFYBlN3x7U23MXFCM3WpX44j/2TanxH2pMXcR1uoPaSFCiIwtg5+ysIzmC1N9RIre/D1zv3ofmWSsYUVIhbLandppSJqz650f6zi4pQpoFgxBbVln1hsH30fmolD/095WQsEqXhTwctd55RAWzUeZLJofY7El4blNc/79yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WPJGkYpQ+MDX4ILxlkizAMhpNyHYCmWMfDR3rSS/iHk=; b=XqdL82vxrDJV5jHHIUw+PUTW7dnRHpmGtpsPuhc/mDIs5/Lg+HiMRrItFCzyZu8mqqwQ8ShiR4plSRH506eMoSAK5JWm+ZBt62om8YtI1b43LkDd3J7HBs6H/YETa4bs8Jq//YzkcuX0ZwvhdOACx4S/+LY6hKgLdpx9StbyT8sTYO5sibvboikpaBFWMF+qlUbe9F8XN7jCUnR7AM4137X+G9EZ03wsF+zrT6hPT/Zo66+tqzxqPuC3nbpx5UvzgKtZoXBQqDKjZ2xrIzuzQdYiWvZOxhMrexY/PYIHx/qdAwD+vInz/8nKNVTi6Qo70IrDCxaUtysFTlMP3gsgig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WPJGkYpQ+MDX4ILxlkizAMhpNyHYCmWMfDR3rSS/iHk=; b=CR3AQxTHLN2hm+NimsoCe0FA7v7XdRCGcSOSyasXYlAYk5Y4F+LaykBM4b2VbPdPZctVqez0fwv1yujRif4c0OUHtsfgZKvWljfln1F3jL0eYKeZwB2C86IRIfR1t/Y6FUfbPGr9Mucz+2/k+6KEIMzvxflju0vFMRpCvmM22YQ= Received: from SJ0PR11MB5599.namprd11.prod.outlook.com (2603:10b6:a03:3af::21) by SJ0PR11MB5648.namprd11.prod.outlook.com (2603:10b6:a03:302::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Tue, 26 Oct 2021 06:48:34 +0000 Received: from SJ0PR11MB5599.namprd11.prod.outlook.com ([fe80::10d:e8b2:6de3:942c]) by SJ0PR11MB5599.namprd11.prod.outlook.com ([fe80::10d:e8b2:6de3:942c%9]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 06:48:34 +0000 From: "Lin, Xueqin" To: "Xia, YanX" , "dts@dpdk.org" CC: "Xia, YanX" Thread-Topic: [dts] [PATCH V2 2/2] tests/vf_daemon: delete test_mac_antispoof Thread-Index: AQHXyinu+3e1j+FR7kaUXg0rvscrHKvk1p5A Date: Tue, 26 Oct 2021 06:48:34 +0000 Message-ID: References: <20211026132801.74272-1-yanx.xia@intel.com> <20211026132801.74272-3-yanx.xia@intel.com> In-Reply-To: <20211026132801.74272-3-yanx.xia@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4f669ac1-39a8-4cc6-452c-08d9984ca181 x-ms-traffictypediagnostic: SJ0PR11MB5648: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:407; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vbK+VsTDP4u8trl4tsOAIx2UjShDrj+EgRMTR4kYlN1DVjdW/mGjiScbHCn6/yfpimS4T8bUBVUUr71Xq53o051/W7l1QU3fJV0QFCmItJXLiMiGaGZ9WkFFjpkLRzUyl1w9TcQevj08JA4Hos7f4qjDFKRRyawgWjGmVBfAsejfWa6GhEZH+kHWIbWpRKRUsYSplIoENUFkPS6hm5JMjwyYNi0QARJYO46PUlJbi+lADT+EQ6ncjHuwPGhp8Ba6qRPXn3pZOyCe80mg4HcF+t7ZN1efjPgVj2Eut/yCnpDmIa4PxioRFwT9lH+pfgiE2hU5hicC8n57gxGhRJEex50FhsQyL2KvUeyrcvHDm3c5TWih9QM/h7as5012khxsj1Gw+Jjt+x6en9jo6rX03vHInAaWifINNS0N9l1C/Z9MHJuT5fVDv3jEQpJEj4ZDlKjWLVbgXeet8ZRdzMfQnMRY5qtipi3yvD81bmXUIUkOAx3fnvsRYz+BieX+s8nt/MJRVpAXMFqGB32/IJNZdDfaNyyK1SktucvcMShyiqelbow4yVDPNlOYdAc1gSCRI6CMQq1gA3mIljDnjux5tC2mhEOC9FMXZ2tjX4kw05GJgEhB7syPLLoIo7hrLUZ1upyaHlo1sUvbfmCHKSyoPzdAM6ybe7Pwl9ZrHnlK59QiR0MPcQve+cG/U3VAyZ+Jl7n21/rcXpSS0gVIaiLUfg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5599.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(6506007)(508600001)(53546011)(82960400001)(4326008)(86362001)(2906002)(5660300002)(107886003)(52536014)(38070700005)(71200400001)(38100700002)(66446008)(110136005)(76116006)(66946007)(64756008)(66556008)(66476007)(26005)(186003)(122000001)(33656002)(8676002)(7696005)(83380400001)(316002)(55016002)(8936002)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?11H/T/B0S8YCoTQjSmqWHa4FrJXhcJ6+BVkUk6ch5R8qZHCS2eQ4NydImU3s?= =?us-ascii?Q?PsH1T+KoMQQGBEOjeQGwYibMO2IKsR97HsFIWlFc+aUty+EavKpqyDXrfohm?= =?us-ascii?Q?8P3CoKJeYbuKlAd6M4wJy4l/tJkG0umCLk3dg2N17eySy3dBJ9vNDWl5S+9C?= =?us-ascii?Q?XG6a1ubXHjKw7a1ROdpVw00fRgBXGRfHOXUFl+kIWX2O/fI21Z5Z9CbJg4bG?= =?us-ascii?Q?ZZhAT1m3ZQuFPlfGPXxIHGSIbbyQ4vmvq++F0rFHRe7LGl/7vQQSzLVF0YvG?= =?us-ascii?Q?qnnYs//3eQgd4U+R31VEEXbWnrx+eaONQpU1SZYCnjuKfa/mFXrdKeHy3Sh6?= =?us-ascii?Q?f/cA1PV3UVu0auLD5ygDXmanxXMUVG4Zj67xZxHJ9t4A9vCFjrMPgl1qgbK4?= =?us-ascii?Q?YvpIMLY7haWQN6Mvf9F5743+VQzYydxlAn7PKYSomNNdGxwxolVKRXaYkGMj?= =?us-ascii?Q?E51NSFJ0wkhAIzLZ/7Jvy+ieCCyc/PUS5qoR97F0H3ZjemIks93wqQEfkAN+?= =?us-ascii?Q?8xzEXk+qcp9gWiJkV1VYj/+U6C0lsWKpLSy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iNeW4sJArcLN3J1AdONE6V397qTMMJ3dOcmtnvCG5uN3/O/jaq?= =?us-ascii?Q?wLaD070JI6DNpOjKfYpEmZDJERMOtE7RP3Hrnk/tnt/8OlIpKRaT9+/bCbyY?= =?us-ascii?Q?x1hcp+OE0tIX9v/9DwvwA7Vml5oYeTKgrUM5i7coIgNhfBj7DN7lFMF8pOQP?= =?us-ascii?Q?4w=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5599.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f669ac1-39a8-4cc6-452c-08d9984ca181 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2021 06:48:34.2652 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yN2IR5tx2w8/Yb77TLrFfWG/rVELrC5JUNBtgYsx+cC7adVuOwG+TO939maFYAo9Q/xTlpKuDIOWHf9EyFB0ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5648 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2 2/2] tests/vf_daemon: delete test_mac_antispoof 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 Yan Xia > Sent: Tuesday, October 26, 2021 9:28 PM > To: dts@dpdk.org > Cc: Xia, YanX > Subject: [dts] [PATCH V2 2/2] tests/vf_daemon: delete test_mac_antispoof >=20 > comfirm with Tu,Lijuan and Lin,Xueqin, delete the case >=20 > Signed-off-by: Yan Xia Acked-by: Xueqin Lin > --- > tests/TestSuite_vf_daemon.py | 53 ------------------------------------ > 1 file changed, 53 deletions(-) >=20 > diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py > index 4d6ae58f..62996ade 100644 > --- a/tests/TestSuite_vf_daemon.py > +++ b/tests/TestSuite_vf_daemon.py > @@ -517,59 +517,6 @@ class TestVfDaemon(TestCase): > out =3D self.vm0_testpmd.execute_cmd('show port stats 0') > self.verify("RX-packets: 40" in out, > "Failed to enable all queues drop!!!") > - > - > - def test_mac_antispoof(self): > - """ > - Enable/disable mac anti-spoof for a VF from PF > - """ > - fake_mac =3D '00:11:22:33:44:55' > - time.sleep(5) > - self.vm0_dut.send_expect("sed -i -e '/int r;/a " +\ > - "\ struct rte_ether_addr fake_mac =3D {.addr_bytes = =3D {0x00, 0x11, > 0x22, 0x33, 0x44, 0x55},};'" +\ > - " app/test-pmd/macswap_sse.h", "# ", 30) > - line_num =3D self.vm0_dut.send_expect("sed -n '/_mm_storeu_si128= /=3D' > app/test-pmd/macswap_sse.h |sed -n 5p", "# ",30) > - self.vm0_dut.send_expect("sed -i -e > '%sa\\rte_ether_addr_copy(&fake_mac, ð_hdr[0]->s_addr);'" % > str(line_num)+\ > - " app/test-pmd/macswap_sse.h", "# ", 30) > - time.sleep(3) > - > - self.vm0_dut.build_install_dpdk(self.target) > - time.sleep(5) > - > - self.check_vf_link_status() > - self.vf0_mac =3D self.vm0_testpmd.get_port_mac(0) > - > - self.vm0_testpmd.execute_cmd('set fwd macswap') > - self.dut_testpmd.execute_cmd('set vf mac antispoof 0 0 off') > - self.vm0_testpmd.execute_cmd('start') > - time.sleep(5) > - > - dumpout =3D self.send_and_macstrip(self.vf0_mac) > - out =3D self.vm0_testpmd.execute_cmd('stop') > - > - self.verify(fake_mac in dumpout, > - "Failed to disable vf mac anspoof!!!") > - self.verify("RX-packets: 1" in out, "Failed to receive packet!!!= ") > - self.verify("TX-packets: 1" in out, > - "Failed to disable mac antispoof!!!") > - > - self.dut_testpmd.execute_cmd('set vf mac antispoof 0 0 on') > - self.vm0_testpmd.execute_cmd('start') > - time.sleep(3) > - dumpout =3D self.send_and_macstrip(self.vf0_mac) > - out =3D self.vm0_testpmd.execute_cmd('stop') > - self.verify(fake_mac not in dumpout, "Failed to enable vf mac an= spoof!!!") > - self.verify("RX-packets: 1" in out, "Failed to receive packet!!!= ") > - self.verify("TX-packets: 0" in out, "Failed to enable mac antisp= oof!!!") > - > - self.vm0_testpmd.quit() > - self.dut_testpmd.quit() > - self.vm0_dut.send_expect("sed -i '/struct rte_ether_addr fake_ma= c =3D > {.addr_bytes =3D " +\ > - "{0x00, 0x11, 0x22, 0x33, 0x44, 0x55},};/d' app/test- > pmd/macswap_sse.h", "# ", 30) > - self.vm0_dut.send_expect("sed -i '%sd'" % line_num +\ > - " app/test-pmd/macswap_sse.h", "# ", 30) > - self.vm0_dut.build_install_dpdk(self.target) > - >=20 > def test_vf_mac_set(self): > """ > -- > 2.33.1