From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0073.outbound.protection.outlook.com [104.47.34.73]) by dpdk.org (Postfix) with ESMTP id AC70C388F for ; Thu, 6 Apr 2017 19:51:56 +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=lRMzSqo6j/U09Pp2sjKwvTi4wV+zcjug+ESBOgMPm/0=; b=MPlRymOxAq/SSVkkR4w9cfQxQcmRg46JawJ+8XyeY7x9WJ3zYMWjZDkcJ4ruk35Tst9MrW1NwmnyQjLOFReItx6cPZzWvzIUUPDhMaMrnSZ0QNlRIlAzOBHL0A+TNSToRizYmZQ6kSF/rumOmQ/QZb2mPi8xuIF/yCaC4lpP7G8= 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:51:54 +0000 From: Angela Czubak To: dts@dpdk.org Cc: Angela Czubak Date: Thu, 6 Apr 2017 19:51:15 +0200 Message-Id: <1491501092-14278-10-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: 00a2f869-7979-4ca2-6921-08d47d159cf2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:DM2PR0701MB810; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 3:GCwHkkeHZDUxfVBISb8mCf8oxJd7PbDmbO3ERa8aKTOO546GAmnxniFhNC37gA4MOkkvqqvr+i2cGo+b71tTCEj/JzibKDlawH8u48kWXjtrk3cch31KXrgIxL/tS1ezKjEocz+23nJ41cbUPH4L9jm3VYeGH5qZVdc8k55OfvaSQXr9S8noLxEuqP/pXRTk8BdiKmlVPYOMB66UHrHRyKSONmqdUekhSJ6gfP9mx8qqljeH1Wit3oAwqGUi4PYo2H0wf2b+n7np5yCAgyxlCKH5g7KWoFYQVwk0mhgTVAaFj6mDxGtFJlomXInX6gmH0sa34+eQ4chPzWyWZBDDnw==; 25:YK/fmfzkKfwnk34jHIsze8Nt4ZXXcaFyCWlqJfPLFi2+FRUYQAy6Kq1OQofH33FqHBNUDVz/ASWuJ0t9p1uixLc+dlkIz2TzZKGrS6GhOLTuJtOw6eytHDa1ZU94NhWi0+w7BTVaTMsSqeRIhYCs7pPT2uLVMrfNFOAejCoJwgcXEMWSLfGlqcNmfP2ZDrMBp6IP6CeMN3mJn99K2wFDD3CJZNKORDMnPxmyZ6za6lEUvwO3fAgry0h/ti8vGNONIKxenT7iL3on2i5aO+6WmVkKfc4zCk8K5NzbVciEiZfSSFaT98qIQ5bNNBMThklCzDl7ukFbKXoYyAtpv8NLV7mns9GcEcGUz1QdfA+a29b/Dff041wEUuRB3++LogpxhnGZRW2t2TV/18x4qlv3LKxZysdyynq15gjjICE8hmHgelunnI3osS/OZT6UZBrxa+NC2ldEra+oc2slnpNg3w== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 31:fzVSyeKCGKBs6sq9t1MQkaQGEU5tg/xpvSV6Icthp78eleLpDRSFFpsrbjZBualhSA4/h2p+Ul6KCw3aWr++rKbmcXn6S3Crx4sfUzNqEOl38NwNFFtK7KMAnnyRl0B1pDfgVyc+BqCoZ2qeD4mXCloyULVQV+QM4HL/4nOitWI1R9jFIrQ6bHoREu1ScyxMv0UHVV92+u3spf6kw98h2DnhZA5SOz8kIkfYTRxc5K0f5yGRuo56Ivh/Z6z6oe7n; 20:/x+qvwX12AdneMCskaSMDlXyPty6ANVV1X+2TWuALwZpvvwFPPTSPyNMsfUkUIDewYzpdxRI+MM6WndMoUnn+yvRYioQLkzHjwhSwa7nlLPyHcQodU35sIRdMuGwnmN/+2oa6S+yXkFE/es4UnpQqBEzFxRdRV5Hoso4dcmKRcU7cV5wPfnfQxu++uQkI6iGrmmURHvo2ixMLocE+h51kt40mYzVcva8cJMROSDNF4M4Ae7Xn3gJuDKu8o7MEN1Lx3mJxFwl1KKOTpXGJfQAcD+EehKheK8ONOkYFS6OJKzCHvzmcsoTnSltLJEHD6Og/khLLnKhxUAk7o+3OD88POCdDMZXIa/kuR5B6IpGk1SvwfnJUO1h4MPf2YJdHlqblSjrwMxvcsUnhKX2uPYnXCMQ6gjl2GNZmSxwF0/rNcE2o1KwQKQTxs3sj9r07Siuf71+FP984oGszEp5el7Y8paFGAOEYWOs5u71qyp2RowO+NUNVdEG/I5oqV0WUThoPdRGX/ZcQO2GQPyU1f1U5UkDGsV6Z2IH3kuImh94/gl/h95PT5koU/b+hDxFn/7ULdHDRF9hWmjY/ghefDGPY9rvXXWhLClcQnzm8m3lCEI= 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:DgyG+2u0BUb8SbfY11w7rine/uuerW90aTp7pFd4pafQ3t+Idll27UEXdw/0/GBG+QplEhiDUvrhuguyiVOtFpC7kYZKYVFUsNRFxb+N2092IpcbezA42kMbKzSOmmrkm4xAZHfCOXwVQgyjzFkUl33DiQqWkLTTwfhNEgedt/+3sf8upzzvrRj241psxLvWRdf2XM6fPMHwdv6CoUsyP0E6oTFZfFHj85PPyBwsj2Vs/MI8jWALZhWoFDPB5MsS39QFY4noznBW7TM47EXxFZ2wMjV2JXDbrluM1lyRs0Ze4SOBWNrWMOFPmNsc/1IyCsqJXTl8xyDbFR/MD6tZ0MIkjaX1ZGhnbLD7/DZB14r0PdyRZ4vDonIzp9CvHQEHD16vTua/hRpm+4n877sf/KeCLiyGvO55nSo1AQlf1Toky774ZBC53AeNbYe2IxExLDaLWHfW9FPhmahuchbEbbw2guwKN/4jicCX7H9nT9u+1OrUt/XKcq+s3/kMT0aJo5aUdSEq38YZp92JN6tzmbGwMhM/48h4W7odqKXvlSRls9uSaL8bWJsmq0VewR7ANeCG59m0xjIAkI3nJ2m+XZJvC7cot45tcxiLwVz2AadG8Bsq7Zy04BnzkSY87zWPOo93xJO5s+0+YmT2hWnSPAT4A6/1bb58t5H0D4atKhrSWr9gnbXkMqRU5FYiJcY1 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)(575784001)(6666003)(81166006)(42186005)(50986999)(6916009)(6512007)(7736002)(53936002)(4326008)(5660300001)(305945005)(2950100002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB810; H:angela-H81M-S1.semihalf.local; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Di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4Ul65xtPLg8VGMqQ+0JVr38vl9WylpfD8O?= =?us-ascii?Q?kZCw6LTVlKmF8fxvMCj/U4np1UjxtYN5QA2UAGnLQLIBdVO/gbNMFCYrO4T5?= =?us-ascii?Q?/62bgyRW2/eUXzfB6+7WtXEDB3gEEfdGWxIs8v58BCOkw8LYX/fZCgANZBG1?= =?us-ascii?Q?GsGKlJaw2TLP3lZ8xRubywvFsRen11O/u3RyedUoAsSPe4FJ1a+ogO56ehCL?= =?us-ascii?Q?puDqZmw=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 6:Iams7VBPGADFHLASteJPZlkF9kOY4stfP6edzZGznVfAgI67s9/p7bBxtszCLrE34Sg5EVnS0LHCkElU2S4wvgFD334FfHjE6pSoTw3Z+7CYFQLxl48out8oFKfkX8fDilN4VuzhH69bodQZqwJZylLy3/oSsu/nCypUcjACOj1OKoa5L61BgT7ItZzgJeA+NlKX/ii8hC1dP2qA5lWTW0nJ23dHDtE3ldRcnCv6aLE8bed9Nv9+b6FxaK/DcnIP8ployL24PKm0LwDG5reZJV5CfIpfNUU61AyXKgzl6tq1s4rvB1Y615VhTXGO1kE5VNDg+uHUp+tjEmfLawYA2Sf+9nVEc17cZumT4KfhKLjCa45ksqvE8FCMPsGhWVxULjXGqsiaQHGfwNuprFFH8A==; 5:G3u50WLxdWvPxW0MrW+WyxCwe90dyD5cZvda5oZhhwnzsgHrTgz8EqRa5ew7A8qMIEOkS6yT73iu8tEee4Vp0w9UfueX1jqHc7YCtKguji428JrTNywJ7pYXYyZB1NYpgyhaTVlVeUG9V2e7dty1Cg==; 24:0trgqeJ3818MJlNOGiiqwzJZcIBGyuTxkyH1auElfk7Sh5NGIUzA7a5AoejcGkseWSeT/B325YYsIF+i5VciRSQUcCw3WByTVcoDbH9RHq4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 7:n1bRo+vhwGVu/nLqao7IHDgCul2YcXtWKKubudD7PgfsMv/P0AlOodOFL4YpAysPIMLFsUJPx2w113K9gexjDvC7ZWAA/ICSoYhQ+WXOIh4PcbafrKW9wDHd9yytegl7CLR6ZtMo8Fy10/rQDnXL/E1RAvRiiNvr1sCWx25Kzr+019S8g3lZlJuZuFd97/e20R7Jaxk/9E+2yp3mH9xat75YNb/+3rdQQk+TfD1TBqIpxydHPXLIbvQbIDwYyb6U2hIUsNPYgZBJwMsDiXgj9C5q3ZoHpUAoTw5Enc6Xmh1jXCQUOji94flUZdGeAUJ1dSJCuJKg65NzgEK4HH7rAg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2017 17:51:54.1195 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB810 Subject: [dts] [PATCH 09/26] tests: Modified tests to take cavium nics into account 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:51:57 -0000 Testpmd should be run with hardware vlan filter disabled for cavium nics as the driver does not offer this kind of capability and the application stops at the beginning, so if cavium nic is used the --disable-hw-vlan-filter flag is added. Shutdown api test is also modified so as to skip disabling jumbo frames mixed with vlan if hardware-assisted VLAN filtering not configured (rte_eth_dev_set_vlan_offload return -ENOTSUP + there is "failed diag" in the tespmd output). Tests to be skipped for cavium nics are added to conf/dpdk_test_case_checklist.xls Signed-off-by: Angela Czubak --- conf/dpdk_test_case_checklist.xls | Bin 31232 -> 19968 bytes framework/pmd_output.py | 4 ++++ tests/TestSuite_pmdpcap.py | 4 ++++ tests/TestSuite_short_live.py | 6 +++--- tests/TestSuite_shutdown_api.py | 33 +++++++++++++++++---------------- 5 files changed, 28 insertions(+), 19 deletions(-) diff --git a/conf/dpdk_test_case_checklist.xls b/conf/dpdk_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4##S|)}Sd|!LrW$6l?E} zlOyiS^U`AN-Enf%s3}~NBPDF_jzbCCyW>#CX^La5!}jhttvGD&4o3vfVZXy16b##_ z^QYS{t|`0y>YpL)H)^$COVJ`wHTk-GpplLPv3jvqUXO5*~&oAoYenIkb3)ij(YizKKqqtudTUx z($$BM|JI*>g8BbjIOdi4XTE2`?S~r=$AJygehQBHJqtGjt^mh!V0o}y9))wt!Ak!G z9UkJE-}3;bUzWY~WV-jW!~5B(Ccq=%EL0}yNWOTk#7EgnI()FaA{a07T{8u&2b|X9 zc7z$j!98mJRxz5OEWhGtJdV=OSmPfhcGTW}ljD!T>NjBM!8`>2cjr=+fY%Q9rPG-K v(`t@J2cD%fT-DM&MsFsaUaxn)>K403Yw4Qx>Sr4sf6J(g@=cF#a0&bug$!N^ diff --git a/framework/pmd_output.py b/framework/pmd_output.py index e8e2a2c..f52332b 100644 --- a/framework/pmd_output.py +++ b/framework/pmd_output.py @@ -119,6 +119,10 @@ class PmdOutput(): self.coremask = create_mask(core_list) command = "./%s/app/testpmd -c %s -n %d %s -- -i %s" \ % (self.dut.target, self.coremask, self.dut.get_memory_channels(), eal_param, param) + if "cavium" in self.dut.nic_type: + # thunder nicvf does not support hw vlan filter, the application crashes + # without this option added + command += " --disable-hw-vlan-filter" out = self.dut.send_expect(command, "testpmd> ", 120) self.command = command return out diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py index a080dd0..0a79e96 100644 --- a/tests/TestSuite_pmdpcap.py +++ b/tests/TestSuite_pmdpcap.py @@ -124,6 +124,8 @@ class TestPmdPcap(TestCase): command = ("./{}/app/testpmd -c {} -n {} " + "--vdev=eth_pcap0,rx_pcap={},tx_pcap={} " + "-- -i --port-topology=chained") + if "cavium" in self.dut.nic_type: + command += " --disable-hw-vlan-filter" self.dut.send_expect(command.format(self.target, core_mask, self.memory_channel, @@ -158,6 +160,8 @@ class TestPmdPcap(TestCase): "--vdev=eth_pcap0,rx_pcap={},tx_pcap={} " + "--vdev=eth_pcap1,rx_pcap={},tx_pcap={} " + "-- -i") + if "cavium" in self.dut.nic_type: + command += " --disable-hw-vlan-filter" self.dut.send_expect(command.format(self.target, core_mask, self.memory_channel, diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py index 320951f..72745a9 100644 --- a/tests/TestSuite_short_live.py +++ b/tests/TestSuite_short_live.py @@ -125,7 +125,7 @@ class TestShortLiveApp(TestCase): Basic rx/tx forwarding test """ #dpdk start - self.dut.send_expect("./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- -i --portmask=0x3", "testpmd>", 120) + self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 -- -i --portmask=0x3" % self.target, "testpmd>", 120) self.dut.send_expect("set fwd mac", "testpmd>") self.dut.send_expect("set promisc all off", "testpmd>") self.dut.send_expect("start", "testpmd>") @@ -137,7 +137,7 @@ class TestShortLiveApp(TestCase): """ time = [] regex = re.compile(".* (\d+:\d{2}\.\d{2}).*") - out = self.dut.send_expect("echo quit | time ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 4 --no-pci -- -i", "#", 120) + out = self.dut.send_expect("echo quit | time ./%s/app/testpmd -c 0x3 -n 4 --no-pci -- -i" % self.target, "#", 120) time = regex.findall(out) if time != []: @@ -150,7 +150,7 @@ class TestShortLiveApp(TestCase): for i in range(repeat_time): #dpdk start print "clean_up_with_signal_testpmd round %d" % (i + 1) - self.dut.send_expect("./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- -i --portmask=0x3", "testpmd>", 120) + self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 -- -i --portmask=0x3" % self.target, "testpmd>", 120) self.dut.send_expect("set fwd mac", "testpmd>") self.dut.send_expect("set promisc all off", "testpmd>") self.dut.send_expect("start", "testpmd>") diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 66219f5..b616ed5 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -332,25 +332,26 @@ class TestShutdownApi(TestCase): jumbo_size = 2048 self.pmdout.start_testpmd("Default", "--portmask=%s --port-topology=loop" % utils.create_mask(self.ports), socket=self.ports_socket) self.dut.send_expect("port stop all", "testpmd> ", 100) - self.dut.send_expect("vlan set strip off all", "testpmd> ") - self.dut.send_expect("port config all max-pkt-len %d" % jumbo_size, "testpmd> ") - for port in self.ports: - self.dut.send_expect("rx_vlan add 1 %d" % port, "testpmd> ") - self.dut.send_expect("set fwd mac", "testpmd>") - self.dut.send_expect("port start all", "testpmd> ", 100) - self.dut.send_expect("start", "testpmd> ") + out = self.dut.send_expect("vlan set strip off all", "testpmd> ") + if "fail" not in out: + self.dut.send_expect("port config all max-pkt-len %d" % jumbo_size, "testpmd> ") + for port in self.ports: + self.dut.send_expect("rx_vlan add 1 %d" % port, "testpmd> ") + self.dut.send_expect("set fwd mac", "testpmd>") + self.dut.send_expect("port start all", "testpmd> ", 100) + self.dut.send_expect("start", "testpmd> ") - if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']: - # nantic vlan length will not be calculated - vlan_jumbo_size = jumbo_size + 4 - else: - vlan_jumbo_size = jumbo_size + if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']: + # nantic vlan length will not be calculated + vlan_jumbo_size = jumbo_size + 4 + else: + vlan_jumbo_size = jumbo_size - self.check_forwarding(pktSize=vlan_jumbo_size - 1, vlan=True) - self.check_forwarding(pktSize=vlan_jumbo_size, vlan=True) - self.check_forwarding(pktSize=vlan_jumbo_size + 1, received=False, vlan=True) + self.check_forwarding(pktSize=vlan_jumbo_size - 1, vlan=True) + self.check_forwarding(pktSize=vlan_jumbo_size, vlan=True) + self.check_forwarding(pktSize=vlan_jumbo_size + 1, received=False, vlan=True) - self.dut.send_expect("stop", "testpmd> ") + self.dut.send_expect("stop", "testpmd> ") self.dut.send_expect("port stop all", "testpmd> ", 100) self.dut.send_expect("port config all hw-vlan off", "testpmd> ") -- 2.7.4