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 9AC0C376F for ; Thu, 6 Apr 2017 19:51:57 +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=U/YDKC3rSYeymw+BfWUufnx8JlGmd4iP1DT3pYoer3c=; b=LCm5fquNv1unkCcQDVVlZTw83J1p3JfpPphWdn8JEQ/UYXGcdzk8XCPCSBU5/owpuP9oWzFaiiBh7uvWFUVFdDfbFAD49ZwEr7Ib2NQtak8kn1jbd9rdSsYZVR0c4tT8KD+GAO/0yY0r7ju0bwRLTTIn0WC0dlc0hpHcb+3DcZA= 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:55 +0000 From: Angela Czubak To: dts@dpdk.org Cc: Angela Czubak Date: Thu, 6 Apr 2017 19:51:16 +0200 Message-Id: <1491501092-14278-11-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: fbd34690-69e9-46b6-a91d-08d47d159d8a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:DM2PR0701MB810; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 3:6Hl5h0qWO9s9YydAP5oJArTHcuTu0UQ86U4kxd5yuw4PLCnWsSBIuPr3W9Fp6uUcH6XKxm7ZSBP3/v0sUnIW651hgHB4zxMrw3nUxGXyeK6iQd425AjiwWtBoNvSrV/H+TcSilvq269xJ21M9KXiLju0EBHql/JMWIF551+iYwdhcWfZN9GyGS9AzRy578/EmJfT2rQcKbhJDCSh+6vRQGP8lkujA9E0NjZWszNW4InVod8n7PVY/hh9gsDN/TxsaNiWhcuP040GRCMcFCAWgZoDBz7c1FsFTnIcDe9QBoklMtmxCXMZHvbXh6PDY0WpqY+sonIiXBcocEDSjlGqTw==; 25:3EeCqvMBjTqTtvFSmjFPWwtDJP9ZL/uOCkGQ1j1wxy+VU0nZWqVhgd1TznxdI+YAaouOvUyN4sCpw5+YSUxfq+jbPMF1YmSOGQXERyWXZVZ7YbAHkYF65Yfjvk1WmR4cMNPWNSp0javjM2BM9SHodwLvEY4+Fbh2VIapHPI6Y1xrTm69ZaLpuskFuVfsPEDtnI4KVHDXnSa2fbRo8CXITplRfOuUBt4528t+HudpBrfH54clnEnOBjN4bm92S1jaFvnrES9Z6EdOvHhX49vGZivHz7288WRlLMT7nK9R3VmSiVsRKoQSnxqiYDg/T8Xlmt8WsjZdu1lX4ff1SowIuy0SlclhQDn0rcQEKF3xWsW8Cim1fAZ+qKkfSQ+B2N+vJzgcYSj55RPJbo3qFo1iiG6NDhFn9Ra3fGTYClwErUGHop/hfwKf3FDYq+TJkKQdwEHzQGHy/u+EPpuiY2aPOg== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 31:Jd8Dc7Wp2YG5dnlWzc6RTQ4Z/83uWo8NXOcmTcdCnRAzC2dYmEyf0iIY2auU85i4Vdo9sCMvPNdTvk+JtT/nbx3FmEbkrJpfqlpYCjadj81SEgblt7pynb24jvRcKieJOQPPpLOlNhnBFyLjn/yx6f1oIu+8pz9nA7xjNis5D62/GqZB1OniDd0ToS4hRxFKCWDfktxFXUCkBRGXI7QwrrHr2u1Eq27Nl9FVe3SrZ1c5Xhue4sDQD14oOHWUhdOghNe6nogoPbBfvaTYff74pQ==; 20:qEd9rNoExB3upyifzBhvQ3TQ9VPILVDoK+NRwqFq7Zh8n3wPERY3/Y5lbxtQH70NfUfAX3CIv3VBWYIZQqiJ0P9oJAuJGjuQVmbq8YKix4sRP3OeCXdHYb83jg3Eh5Qo3PoLYO6fnu16U+ecA+LBBXt4ZpJrM+mJl2IhEzt7M+Hm3WnGKKCKO1Prl2eiHh15VpSWhqu4fUuN0bgjKhGgUbMAoyNrAWVwGDJDsrLpqezJIMbO7zOd5SJgt4wI5ldHwN5sOR+pDTFqzYfQvYNAeK7TitCx49F+fpH8wClzzI4jzXfBypZpPnVjwxaNnW9MHnXDaWvJzXj2WNvhPqmmWNzwNpAcCIfeOQb2hPqCpaCPULkLtlQC3xU2WQayB+2uER/MHEUYkEL9ZcurL0fUaO8gJrURbb10EKYqFQ7+wkrDjn44FgHZbOawiBj7g20W/sOtC+9nnmxrbC3/a7MbwmYkQO1b+Ik3UvKTOc+53NYVj8Ca5TnQXGhVeSBmhzlav8urmu5UX0c4ZhBxyjfL7VrevCQnoSZp5SzhSF1Vm9mcVjmzQYmuGJyocE9X2UCTxnL4vj+uKrgLyN1lmzpN/onE2vKBQwuYijlwf1sUEGo= 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:e72SwmV5+aHrVYNQ4ulsAIJwORysLlcr1lJBjQq2YNr0Di5UfRa3QyYCucpUDcEs8xYKlLhsim77B9Yv33842WLS0PKvIA/5ZGDB6uBBkeFOpHRjaexA+tn7bzhd12Vqf4RF05sYGDirrmnFeexcVQI631Fqvthe/LVOR6e51f+eqAVvMYX+tLssq2srH5hHvHFr6g0pnFCugfKUap28Zz9rwv4UMdJboLl4VkwKGXDrt/kV1ovCR8DEKMl1LpWAPbmOl73QY0s+SuVRIR+POtUXDDu3sMjEB2BWvJ7yStR2eboWMghcrVgDc9wGnDD2Hw04hd4H7Ywy1dCw59gmwe0DDNdHdbVuKV7YKFZzuSfIM/UHdb0JEPsuX/EEUbcxFaKUCc1rhwaf1aVOMF12HMAFfPH3SvEGJ6ELU57l9rfjbjO1nmqEWdb8RByZqRs74e/TYmifGQF2TbBW2SrAadQRrhLJ0Fm+havytYNwhA+DSwoEudgSz8uDIuuFXg0lTqVWrDdv1behHvf/mw/FvT6ne6TkOWSsG5iDfaQAC/kvwXFfkywHV+mbDDjLjgkqRGrQYyoRmG9nRPuUdrUfLOV573W5auS/sKYS0ShR8QENLJqrRnNjVUkwB3bN+f2TVynmB20yZ+SNNV3iThZTyKw4yCkHslcLAcnUVIoMmgPWse8NlyvsTLT0cxXhc9Cf 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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rc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 7:7XckcteSMDAP/EVmOVViICo6DrZlqsAZ5lFZtwpQpMpKDSWaNEQQeXLYMMw9eDJorYVWrI56Chfo9BiyFW1UufKLWc31QLddOkC6VdUa69zsZYh6HppG2kzMWn7+EtD48sPEobxlVUegfvZVcNkTfQys067FL/eblG/vbq3GJZgrAeCbgGEP04ANLVOP3BZd8G2U3moVitllKY9ZFyj1Mz5DRYah5UCH6mJ+AZmGVq4aoW1mBUJ+C2v8jfLjgqoFv4DAZe/z95ARuljseOLc695NJJwGrR9dsj79pFdkl8xUloTP3YzU7r6wlnfuwz6frKAVZcQZnRzt9Fj22aurxQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2017 17:51:55.1163 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB810 Subject: [dts] [PATCH 10/26] tests: checksum_offload - fixes 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:58 -0000 Sniffing packets with scapy seems to fail, switched to tcpdump. Taken into account capabilities of Cavium nics, created framework/test_capabilities.py to contain information useful when skipping not applicable parts of tests. Signed-off-by: Angela Czubak --- conf/dpdk_test_case_checklist.xls | Bin 19968 -> 19968 bytes framework/test_capabilities.py | 9 +++++++++ tests/TestSuite_checksum_offload.py | 38 +++++++++++++++++------------------- 3 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 framework/test_capabilities.py diff --git a/conf/dpdk_test_case_checklist.xls b/conf/dpdk_test_case_checklist.xls index 0345762f0c894145ac84f35bb41467462f443c6c..5811198e687c2a63cf326b7ca378849b0a3e2038 100644 GIT binary patch delta 429 zcmZpe!`Lu~aYH+onyD}Y5U?=>XQZZ<7`8I-F;rV1i5P)IByA?I<(j~LnU{}=fuUft z3pY0_W94K=UhB!-0{X1+i3Y|dlXnS7Ge&~ML^6x=^9u6wQgo6N%Q8!IA<_zh3XB1h z9R(es%9{i=7|kcI7Sw?7H(wU~#A+_iz)(~XpPZ4JoLvmmSeBTRnG&CtlbBu%ltD5L zX0m~Sp`ii;!{h`Bg~>0(pD`9}J};5Q$e6s@N~&Cmm4iuuA!+g=o7uL18MqjdfS%%K z$O4iO9wU&)4(BledD(CtGqT)d6We5ESD>5&5W|2hPz7@`n8(PF41^2}n|ImnXJpKo zTxIVHBoEkYGUiTxWiQQ`H<`@=B;o@mCjrU)%{Ls{m^Qf_VdgajYIFeNhHNE$iOCn; b<=Hk{&HkyfYV$XDCT6DDwwr%>u`vSxrIT*u delta 303 zcmZpe!`Lu~aYH+o+FKz8AYfw%&PYuyF>GbvW4LLKBw_>-DYu@ymTLlgH!mj>14G_s z7jAA=#*)d7yw;Pu1@tHH7m#KQ0rSKJ`6p`$DlmG3cx=guWtpY9lP3ylFd9wH6IOx> zY<@2IiFGrt1Scb7-ez&hEJntp$r1LAo0+A*DNg3K?U{VvHcA=f0tXNQ1+onM49o%y zKqwr5Up)p8=9NlUF#n0#&^O zlO~R?jJcbu9NU;CPw-f@$>j($uQ5=o0}wOZVmrh>`J%f#Tg9}vS&Noz{^ria%=FV{ J^Di$pW&p} 66 else 0)(%d))', 'IPv6/TCP': 'Ether(dst="%s", src="52:00:00:00:00:00")/IPv6()/TCP()/("X"* (lambda x: x - 78 if x > 78 else 0)(%d))'} - if self.kdriver == "fm10k": + if self.kdriver in DRIVER_TEST_LACK_CAPA['sctp_tx_offload']: del pkts['IP/SCTP'] lcore = "1S/2C/1T" -- 2.7.4