From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0045.outbound.protection.outlook.com [104.47.38.45]) by dpdk.org (Postfix) with ESMTP id 4A7217EE4 for ; Wed, 19 Apr 2017 14:23:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Kw9GmiKx0V9Z3jdevD9Yclo1w4hjh3d1xG+U8Er1yy0=; b=mpXBZrMazauxgDyXDmw973bi4nQ3jF3EDYeK2U98Py2I99+TvdVyYwY4lnIos3r4I6O8zdO4N1epslnaIDxOvMTxCAinseOTjmr//gUqIvK1CbZItpYbqCTptmb2SUN5VWWLDm52l0y2023aUzYFIuiJm2G9cphZ29pfKyHvX6M= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from angela-H81M-S1.semihalf.local (31.172.191.173) by CO2PR0701MB805.namprd07.prod.outlook.com (10.141.246.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Wed, 19 Apr 2017 12:23:13 +0000 From: Angela Czubak To: dts@dpdk.org Cc: Angela Czubak Date: Wed, 19 Apr 2017 14:22:20 +0200 Message-Id: <1492604540-12114-28-git-send-email-aczubak@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492604540-12114-1-git-send-email-aczubak@caviumnetworks.com> References: <1491501092-14278-1-git-send-email-aczubak@caviumnetworks.com> <1492604540-12114-1-git-send-email-aczubak@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: AM5PR0701CA0064.eurprd07.prod.outlook.com (10.169.145.154) To CO2PR0701MB805.namprd07.prod.outlook.com (10.141.246.23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 686e5570-3838-4fb4-bef7-08d4871ed9de X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CO2PR0701MB805; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB805; 3:XS5uEmSxDbctTeR68o1Yhq/vz3nQoRN995HFUE1M80hy6Hsq54gWBPloWxuGLyNoiy+giD7BArYCCy8613h9Ve7qMhyRxqYeiP8ge5jI1eyuR9ZqSG8ALMJ0Fsb0Wggh5dVQvVlAjp/gJW3w4DXOAOT9qEQfo1HPxLfe5v9wJoTgj2kz2HH3pu6xDqjk59o7RaoP+39Z65E1XliNXGEfxL6W9F0FfmUMVslPlMXhY9MqWh9CrkeCUE2pMeloQI/NxApZ3myTDGrkqC7fHa2i6Z/IsSN329opMN6rBmIxeqMjG0uXNBVouLCjmT9O0921Dclko4Lx1QKK380w8IofNA==; 25:g6u74jo1RqQZ0MsnNQvdHbM8HYG6zVSV0TBnPvp8Fil/NJpo6MCTCiA52ywYi6iA7iOWYS6rf6yk00kqMiinClcQL3rGmUxH4nggnubYjcgv+9SzJ6G6QCtpi3Wj7+qWvj3FDr8CALd62E1KFwIGcLRdNwuVqfsfN5Y66ypLzMw7yz0mhh/V8oPiuFfgd0FflA2kB++vWENlrKgiri4VXdvVnazzyGRttaIjkEKajM06/hqnorY2qU5wg9YJp8k+mvAmtVNGY3sEwxXMaq0bsVQnaQSswfcuXnhUQrT2sHLTPJc6Uqy/DxVwxcHxlfpEmY0IqHIZU7nMOdHX+JpA9+RBI4WclzZtCLgssVQV3DvD8xa3KaX/Iwg+kJOJWOpo59hzcdmbapSfQpvN0RFiuN8qV85vO6sgf1GY1JGN4zpzje53xx3T1Kr9DW4hogRgdwOAzBg6zaKqDvyk6ULEHw== X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB805; 31:IGXh23nqSTfYGzsF4MHkx2ElGsaZQZve+Ai1KN6njP0T6UuYKtBcCqIdfY/4k1zRYM4PwjDhXxDUP7BPsIYtjgVDgbXfxkOCt1jcLbgwR1A/V01Ki0VhmiErMrMDGl4DpuxdaKczV9Yxk9IvoyuLXC1TsgyDgm4LXzjv3HuCWLZtjSQLadqDRHXfIV6QGf4LCBjiUAF6DdfYXTOES/WjYYlrvW8NQBpuRivp9kYg8Ydes4qSFPdX+GBXUtqma2jN; 20:gcTWNnIlFLkh4nti/+HOQ2E0+I8PouzDuVpRWzoADv0QDN8ExkaNoKI8saVSr0QA48mV6B3GZ3oqeN1xQRSQF/urvwSe6zeni31P6QE1MOt6QyAy1C/ldFk6+wge0QxSDtW7XJIWzSgjiC1XBdxHEJadTuWzkjCpkPIgJbfnr6QIMzzqI0vuBVsiFwbwOaeU1VfLdUXvrs0bDZxUY7Ma7mQrMdNhvSYT9w0M9GXMKjYIw5ZTQqtjQhp7z9qid8MQqMJPqc98bOrdMZMdVmn8jSyacvNc6+BZE5Om8NZ1/w4sHNpCbk5Fm21d6P9JDK0zQzgamWqO+RSj57Bxxt5arSNMVM98FxKp5pX0fRMPMrifsUcFSMhkH/ZmshpU5MDTcNjGdV/11RIzhT0k0MfS1SZCatiI50WvNFvvmjTEQf3zRiv96DCa3xb6IJnETG3VLs5EpbTOdry3qzJiRlGnxNViPHxSaJMOw9n7aYGiCVeltAJ+N+d1VpG4ZyL+NAzoh+SFWOscOeg2ECeD+jq8fMnzE2VkCYZdmYbmoiUPTLuWxfs2bgilXKFXaC3nIxD4kJWkGQ3wopNGCJ4srugonqt0BOuYIfP57YzubmishkU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:CO2PR0701MB805; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0701MB805; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB805; 4:mTdBi+vmJ2Uzb6SaHXSCPYVdpGZORTN+1P5SwyDNAbY/cgrX6TGGDWHgEsDrWxjBGIcBzkIgItXEZVF3McI89fB+7SgK5gykN6JsD/snYtDbghoLb5eSaoiM76bEe8xKfz6338yu4GdwrXlhkYQ2fp5OJYlpePIClPqscY6FXHiFYl6l6XnM7yuUieHoTmdgJTO8HFYqh6A7gVJV3MZwmvyvR+peNqCa0DyZYoVU4L/NC89IR0EMoxxYXR2xdO2NcAxdb7RcydQ7efJZ9vbjtTEb9iptcqs7+R5Q6DwOIW8/4N1/0uBV/D1doNjQQdRoAgA01bOxLRmZAxBYO2KyLbgk0OZbt2586JUH0zzfi7QnAek1p7gny6ZG0/Cue4z/G5miPjT6VdbewOrvSrVHxxxc8gUyYFKvHbL/Y7E89HKE+4mzNYRuqxuO9Mdv9XdQCydmi8oVCSF5o1D0aLscFfCA+bdjLa/Yagl5L6NYwen2ZuEk+r1bqgsN+fybP+JaCg2GeKjR1qtHAts9mpH9pSNUbZSr85YXY7yedrYnG8W0B73F8mOe3f+auumvXSSJ9rgIpmI66WdluBN6zPkyN1qsjmGbm9NUOhMx2IbLVNfQwzP+IMlU8o9S124b9BMpmoxPV4E7z5JrY0ZmXjhD9UnoQMuMQ8PYZtKXVFrYdbEcmYFgRi4ieZFzF+fExnec X-Forefront-PRVS: 028256169F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39850400002)(39400400002)(39840400002)(39450400003)(6486002)(5660300001)(38730400002)(6506006)(7736002)(6512007)(66066001)(305945005)(47776003)(53936002)(42882006)(110136004)(6916009)(2906002)(8676002)(4326008)(2950100002)(50226002)(81166006)(25786009)(107886003)(6666003)(36756003)(5003940100001)(42186005)(33646002)(3846002)(6116002)(2351001)(2361001)(189998001)(76176999)(50986999)(48376002)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0701MB805; H:angela-H81M-S1.semihalf.local; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR0701MB805; 23:OXrAzwYY1N9mjRk/4PQvYuqHcOKVDMGFhkYNknTz?= =?us-ascii?Q?UQkp9eVgibr+t7gLiKfLBcyvizNGxQn/tPq7o6FIyLOywHHWkInNv5rnqDrU?= =?us-ascii?Q?FbwK6uAFs3TrSyql5RBzdSrplTP1lkuDtUJkpTugBwEs6ptZHlrcFgGXL1ZD?= =?us-ascii?Q?IC3ntHpccOpKdDkG9dZpL+LmRakOHdZXpOby0z6oWA8dlIgRTdqr5F0gfQVu?= =?us-ascii?Q?Sfi/exfUIwzbQIEnWhhqT8paHzjWFdWeKGcgLs1fpa8J/VYSGL5EkHaNgv0i?= =?us-ascii?Q?xXCaGGO+meSZ0ZKTsiCKqX3Qreaut0NDQCiK9dJQBK4fVdTFBGtjNcJVi+UT?= =?us-ascii?Q?sxjjnjgOaK6Z4QHGCqTROF6jGO/+Xg+T8ZYZVDjDMXEHYMud3GEPsJ1HiGsz?= =?us-ascii?Q?2leo2XnjHEPNNdNSteW2AKoSjlk+jEQZ+FkoM+/yfd+/Y6AxiXAcFSxMYsly?= =?us-ascii?Q?+fanAe6tH7dcLtdUmlMSS3L1TIAJa/BPzVFiesUoThn7WoSc2SNbasAMGv9s?= =?us-ascii?Q?eGy3SPLkv7Hi5ileAxmpy3PFZPTB8CpxHnLar4x1IuElXfvbcXjcixMNpQE0?= =?us-ascii?Q?fsRHPr5y9SzwMlvJaEmjp8boCfJtouPMns1JvcGkExypXhUVmdpJnOa1hHxF?= =?us-ascii?Q?a/rW5sjDOoJVwEqt+6YJfoEr/4jBuz5/3IERAPb9vO7KNv6LheHF7u+XsXAk?= =?us-ascii?Q?A36b4K2MRP6CT9WgOut0ozu+mq4AM2iQWvRcjYiV0h1tw9CBuPbW7z6JGP6A?= =?us-ascii?Q?100coVyVY5bn8WWELX1p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JsZamko1N18U3+tTpdGJHtgKDDCmA5PctK6zXz3dJDclJSD7BKI+IRsZet7w0tibE2d0kZA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB805; 7:nDurRqI46WrhWHVUCPJNOAS5dAqd3snWbo+mmlLU0i7z/TaTGjtMvG6Z1v7him1v51rUWB/WXRBdyx+rmFosXRjtnKZEEOnEbqBfS6S9g7FTR1obY7Jt9UQTii1ii01DroDsuMI9PuSDi+D+UVqhgwTwtBF3xFn6FOK6ODte1hEfDUvajjkG59Eo7IxuKqM2SNsgkcsQMiid0MpwwGBxbiulSDflVVzH7wjbmUg1g4DWutSJJT1PgV4AFqkBY+3oj+tOB5c2onWJ/1EJJcoGRwJSdRtfbOHwgtbimuMne9yqVgURxz2zYK7ye+vmyvfRSkkhGfBTzUsqVhXk8it/BA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2017 12:23:13.2869 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0701MB805 Subject: [dts] [PATCH v3 27/27] tests: pmd - Recompiling DPDK only if that is relevant X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2017 12:23:15 -0000 Earlier, DPDK was rebuilt everytime to achieve the maximum performance for FVL, even though FVL might not have been used. Signed-off-by: Angela Czubak --- tests/TestSuite_pmd.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_pmd.py b/tests/TestSuite_pmd.py index 2d5b485..82f1e30 100644 --- a/tests/TestSuite_pmd.py +++ b/tests/TestSuite_pmd.py @@ -69,8 +69,9 @@ class TestPmd(TestCase,IxiaPacketGenerator): self.blacklist = "" # Update config file and rebuild to get best perf on FVL - self.dut.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/' ./config/common_base", "#", 20) - self.dut.build_install_dpdk(self.target) + if "i40e" in self._get_nic_driver(self.dut.nic_type): + self.dut.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/' ./config/common_base", "#", 20) + self.dut.build_install_dpdk(self.target) # Based on h/w type, choose how many ports to use self.dut_ports = self.dut.get_ports() -- 2.7.4