From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0053.outbound.protection.outlook.com [104.47.40.53]) by dpdk.org (Postfix) with ESMTP id 7A31F326B for ; Thu, 6 Apr 2017 19:52:04 +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=vPe9vcu7faN7CYq4X+xXFpTN0rSsXwEsSNkQKM/VwQU=; b=Nmked0eTf4Vl3ZT+eF0FbtKf69n2tF0BHo+49hupcbpzZDheMeNDNs2Xa5qIt9wgrfyrBHicjFjERS180Fn6AHErFvtkhpeOq6nn6QnjZUfAGOkwXl8kzKRjlayWe4zZBMIAq7FGXGNO4IXaBiY1f9Jl9RpLm4BQ4Mlh+w+9AYc= 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 DM2PR0701MB810.namprd07.prod.outlook.com (10.242.127.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Thu, 6 Apr 2017 17:52:00 +0000 From: Angela Czubak To: dts@dpdk.org Cc: Angela Czubak Date: Thu, 6 Apr 2017 19:51:21 +0200 Message-Id: <1491501092-14278-16-git-send-email-aczubak@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491501092-14278-1-git-send-email-aczubak@caviumnetworks.com> References: <1491501092-14278-1-git-send-email-aczubak@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: AM5PR0701CA0051.eurprd07.prod.outlook.com (10.169.145.141) To DM2PR0701MB810.namprd07.prod.outlook.com (10.242.127.24) X-MS-Office365-Filtering-Correlation-Id: 72d392bd-d673-4717-8a84-08d47d15a096 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:DM2PR0701MB810; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 3:TPLrB1sztoB98/V7zGRyRhmA3+wkhEm2Es1bfxbpDee1qlXgM9WP1menh56ppDkbt/1PoLD1R6ym22e0QC/fheMV3wFUNT96P02zGQAkv9qvf36JWKMnENGpZBlCqdv2V1rZhXiW6AxOhlJ2RZJxp7P0PFTbygv8pNYqh6LAnB1sEcrkCNnE3nMA30QbZb807fDyz8FJboh4ITkFu4RxQpBBUOsZLhhwBUEcGBeHWzYZw44FW+Nj7S5fc1+FZuLIdb6rbcFe/Y6ADbQBSlfTrz80bQr9NZqN6gCLi7ECWsPVedgva61ScZy5I9pXgCZmNFX7SoCQTLyQPUxYP7Dx7Q==; 25:yP2Y2WtUmYfXCQD949Mc9TKYJmkG0d4cEx0WzS7nIfqEDQRYbyl2gFYAjvIe8Xr6RyPeqWtsOSo6eVq7IFrFRPlGNKOV31Pe6D/6Se3uBnWYu1naI9j3UmPmxRqyvhak3EILl3osNHDX40bq8YcfFJDJ3jc/XrJxiNdcirYnpGcn6fLvMcTZTxlBODlUPcKQenttxUs/z7VtYh12mFRd+BuT4Mvbt25+pXk30Yxjwsn4uEGMAYPiWVdFEfG9I+jSDXiVoZr4ExuxEekW0mVvCA4k8WeqHnhq9Eey33Cc5QIYpPioQkxNdmEs3TS81bypTAGYtpfSXWWmCoLfe84j47zoxVrcITntxutarKiwjH9ytDc2t3iVtiQL4cgs6F0v6Dvdle+nERh4o3k72kNLk5+sYqWaktZQNxh5MGx7k6LICLoFPQEzBOOliiDq3Hcujl4M52u3Gr0DsrcC6OBxeg== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 31:OHIrZ8O2ntgXhvlUDrig9ufEp48W2CUn+VT2lMRN5cq+L/KzGg2fYuCICR2s0APvuGkvZNsVbV7gGAIa3Ts7FUJx0wxoMa7hg11LW5L1czt8Exp5VegT64dSTVcO6NQZ1AWlxs5eb6fCGOuPz/Mr8WyKuYa2WQTDp+p1KVJuRSAIBqrBgKLjgVR+5TPAc9uufJ8x4BiCzQ9zmybzi01LKCrNQsHwNvteNzzfuAMrByOqrQ9jUPGjoLdOArTwM9/L; 20:MT+6IxI3wmeBQwaRL6cgy34mQ6yJwVnxxfO/cl5yqJichcf4NCEECbk1xnEl4xkgyuZLJvWn5m3cPb0diJkmZD912MIdYQIfejTTRcQc06Z4DembFwcrZWgwq3uGkThI4mM7ASnC+r/czBNhUf0ianVVzYHd/iZ30Q2Lb6S8q4rRkelNj19wHAq7IRCn06lwOh8wpWrZoASE8yPURjAO5S3Wq1QLxE6KmeOfr+PF4pxNqMIfUPXz0paO0C52CQ8sn1rVER7Ww3JDSb3imk3wamPyFm32WTTi5TN4tbCKOnVJ+JOsMQKUlJiMYZnb70o7esrWuksMoNiPxXpM15v6DTCso5Vza1canjYCmqRBI0OT/g5zgv4twfXTpFHKLMnYgiR/9MuPHPhzU5Q+294JeYXPwCmLPQsb5Rx3+PfgFgkERnjsMJXnB2ZOXH5MUzGa4/9uOo0mZplzapHqsh/5O6u8DxpdIcEIJ4zjQVxV5n8ioaxMSkmSXlWBLF0gkXyzWNiR+lseYfusFMnL5q+8i8m3cKcJOKBLviy3PIaoOOebMjL1Ac9v9AjftIXVSxlXZ+reEZbG94kkjSzcaMi68EF7s2l2nQkHXjIaecEMBZw= 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)(93006095)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(6072148); SRVR:DM2PR0701MB810; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB810; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 4:pTbhMqa2Dlrd/Z2hdVpu3UUq5vyn8qbFDiReBijEefuREVqy6JA2K4zyfJqWZTrZF1k1eC0LU4JeHhlSAt6LhzF09Qb1RkxapopKlhj3V8yhHYuvIyycj9qr+pO7qO9vk5vg9frzvndBS1UbUuAwBKo8Fwliys67fgUfLQy4GQhuLeuze6+tjRhKrLpOz4a22Z1UUggqMO5M2dTzcF0djB/CQ+dpp8zZ4Ylq0UZOmlT6IBTqj18ktcotK74ZAtgRP3ZfGULNT+v0w9Jsfh26tKmSiIjwAlMIdYTJk85oeY22oUfZ8HUH7mB54Oai8iQavse7s5+u4wgHKcUcEerl7CNwP6aLcnlab3E0NdzCBb86Y7XGIwKGtOcFXTMb5XemwMyIw/wgfnRYB/ZPmWHNisqz2Mn2pxxMor4g6M3XvAFULMPo75xaWTBGaQcGS8AA9P57QGn0vuJiJjY5GWEeZ79qX64TR1cHqPY5D2VtP/xmTumvC9/VbWWhMYHUbaYh6H6few1RWQPeILxG69gPSZo2eHPGaCnyp0YVqFmRrlSUsidIyDIBrKx1dz/SzPKhnlPU6UiwNGkXmfv2W2jgianPIiJKDpAFIpdtJnRSKC3cmE5C35/FMi/hqopCmJLZOGpnUjlt3/k1FNNU8Nfa/HJwk0KtOIlxjaV3Qleh03EW9lwzj377FBK3WEptW7Mq X-Forefront-PRVS: 02698DF457 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39830400002)(39450400003)(39400400002)(39410400002)(3846002)(50226002)(6116002)(47776003)(33646002)(6506006)(189998001)(6486002)(48376002)(50466002)(36756003)(66066001)(8676002)(5003940100001)(2361001)(42882006)(110136004)(107886003)(38730400002)(76176999)(25786009)(2351001)(6666003)(81166006)(42186005)(50986999)(6916009)(6512007)(7736002)(53936002)(4326008)(5660300001)(305945005)(2950100002)(2906002)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB810; H:angela-H81M-S1.semihalf.local; FPR:; SPF:None; MLV:s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ii?Q?Im/7RQDtvszff/EDMtc1q+T9Jw3DMQVaR+0geQlYQwHkJM9M4LI2ucDMgYKG?= =?us-ascii?Q?OlKlSzJjPl39u4UR7EYKx+WCww6BDVLzpF3x7Xja0pXZxcDmX0IXSQnHNdZW?= =?us-ascii?Q?U3QTrKGtR+G0GwDFYH8mY6Z3X0o+nEtfzB4FT09VZcvV6HvmWwNY7yEGYJzO?= =?us-ascii?Q?ol44Q9JjJAQkic/WJVKH7dQRkKOJsnIofupkfim38156iwBbsnkS6l+UIB9a?= =?us-ascii?Q?U5ie8dY=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 6:Tr9najIhfXovW+Iar5LumcWpgWh6RDms/6/3Ywuv86RDEv9pUmeORUuTpOTlnyZFSrPZMcEFYDhfn+MrbR7AKIVL1c2x5RXINP13ymEI+bIEvZR6FjFg+f55woaPzT9OOTTig7KVEEG4efJUeixwQNk5N9AscMR4rKuP1GpZzeZC15dKjP6rNlbyxw91AdvXmrp9UvT15thLm3ubK+lX2Axu7S3kgugw8Lz7s44r0+LfezQWJgTohWqJii5BONA0Tu5q2t6pUh9CefTH5911kZtcUWxdSps8EywqO6f59A1GwGp/n+6T8Hma6L4pfaBUWwdSAgx232v58oHPV/QUPoK0KYoKm3jasjlaIcAOUZAXALfTp27xSyDYbddcbYMl0G4Yhk7/GkIopHVwPNaPvw==; 5:lmI3IF4KRw0wo/tZKQ3htYNHo+pfVVt4h2pvAvqPsczt2kPDKz24EYMINuA4o6ZU5Vv7CVR84Wh4jmz5F0tz6+xEQ2NzSTsibKY9pGUrvofdbBWyg99sJcVP5KBOs00uqckbZN6R3dK+4dbbBKq2zQ==; 24:KfirM/AjykIFoYXBnZadgyytWNyrbB9CJHQiTiHp3x/aMagJhRSddUbXaTGS9vUDk9OMxNDwPzdGJ5FHj2Vjbz2BtVF2W1m/luzBHWX1JHY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 7:fyN59oRTL3Eg4jR1CDlEEucWXvZ09JoySiDwRVnu8kAe9mAV4mfnf1IE7FB5ZepqW/HRepjMf1h91uDXEEaYaekf/jLdNjsiyGosZWo2lhrLQWF4/ox6rRAdIXHy+xB/sroO000rXWjh9aPjTfXae9+Yze0vmHGTFxhFADYgvZXw1AIQpTe7P8F/jlspLrdckXQQMnTZ6+uaEfjbVoY3USlwWZBqXRIohRHOW3ijrqRr/ahXz8i1hD+DkgPjA2vZVYgi0YtSDKw2eTvCTSn3ffHpNQ/7WxxAGQ+rKeMjvMNe4tshhprIT23wd0dO6R11fQNtMlYopVw3POPQBd3aDw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2017 17:52:00.2253 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB810 Subject: [dts] [PATCH 15/26] tests: l2fwd - fixes to run on two cards (same NIC) and expecting "L2FWD: entering main loop" instead of "memory mapped" 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: Thu, 06 Apr 2017 17:52:05 -0000 Previously integrity test assumed that there should be "memory mapped" in the output of l2fwd after start up, even though it does not appear. Test can also be run when 2 same NICs are used now. Signed-off-by: Angela Czubak --- tests/TestSuite_l2fwd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_l2fwd.py b/tests/TestSuite_l2fwd.py index 23815cd..659d5f7 100644 --- a/tests/TestSuite_l2fwd.py +++ b/tests/TestSuite_l2fwd.py @@ -60,7 +60,7 @@ class TestL2fwd(TestCase): self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE['ip'] + \ HEADER_SIZE['udp'] - self.dut_ports = self.dut.get_ports_performance() + self.dut_ports = self.dut.get_ports_performance(force_different_nic=False) self.verify(len(self.dut_ports) >= self.number_of_ports, "Not enough ports for " + self.nic) @@ -134,7 +134,7 @@ class TestL2fwd(TestCase): (self.dut.get_memory_channels(), core_mask, str(queues['queues']), port_mask) - self.dut.send_expect(command_line, "memory mapped", 60) + self.dut.send_expect(command_line, "L2FWD: entering main loop", 60) tgen_input = [] tx_port = self.tester.get_local_port(self.dut_ports[0]) -- 2.7.4