From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0065.outbound.protection.outlook.com [104.47.38.65]) by dpdk.org (Postfix) with ESMTP id 4D6B34CE4 for ; Fri, 31 Mar 2017 21:38:00 +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=cU9hGyfUgq6EPDNXZHlvr++zHFYtnUNsjbjYrijNIjU=; b=dlRto6ZRAE1GJ5set8wuMfOJZbMZ7eV7oGE4Fv+3iYUt1mMOV462Y+iTGWt6A4EKF0+hEMLUryowFHo9ZYqAYykiwHIqcLKCB/mMGB+sAPqM1ob5/875R3Or4xZItsEZZyeys9TXiCJfcCMZYZ7tpjJKbXTES20fITwBi2ez1Ec= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (14.140.2.178) by BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14; Fri, 31 Mar 2017 19:37:55 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, santosh.shukla@caviumnetworks.com, Jerin Jacob Date: Sat, 1 Apr 2017 01:05:02 +0530 Message-Id: <1490988905-12584-36-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1490988905-12584-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1488562101-6658-1-git-send-email-jerin.jacob@caviumnetworks.com> <1490988905-12584-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: MAXPR01CA0058.INDPRD01.PROD.OUTLOOK.COM (10.164.146.158) To BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) X-MS-Office365-Filtering-Correlation-Id: 999c66b6-d77b-41bc-d0b9-08d4786d6fcd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 3:+HhpNIbkU5HVk/TcY9RJuZPePh5h/kduuM3+0cLk0Rf7o8MF/6HEoDsGkYXozAD5UE9ZvnMZHgP99lfVrDMdXWIhmd0LzVx6mVPoYuHx8VBCmW3AfWVMqWyXVMj7udiVk6R8Qqphj1+IzYexW3u0InrjOsymNQYI+zgAvgLl3a4gG9fyBo/arud01bRpEXsAlWqUzJwXvOjXNiO1zamRLJGojprHnc20NrXThd8gKDjKEn4N21awrBUNxXp+5esUILzkJ8/Q1TbXUEgw6wZjTixsjQYP/7M/xpMnh31ZDso3nlJWe6U973uBR/d9XzH9iK0F+XKIHKaXh3UuvZfp7Q==; 25:1G4fwStM8wAW6/Bvg0aJhbZgg3H3EGpy36lDCt07pE5HLqGgkbBEOJ1xQZ1XiXA2LLRdoGQUVsTF5fqlSc/yEaIgrQwam9lCxOBcYLCSh5WR20uCPpCi1PMgHn4xVXggxAwU9Ck0LoxVj5jLh1BDWp7R1N9/eLKFa5S1vYFEpWdsHlT33OY/tAu4+y8iqxdWpxph2iSDd2j1z6b8HKiKBEjJt8OFILdhKeEM+5MofxrBO3SxDS4VeHDvDxY7/Mi+Yl8/bbkwQN/XggM/oblgAKXbq2GXlzdzYThctUAbjKjWlYN8p+3XRIUjTT9tO8zmnWeWWS037HG8fnckIQGGLKfIj+PuJ614x/BVWANafSTWO+QlUxCpx5/vKTs9lNk56h6zXWIe8OLVlY3pI42CMtMFQhMRj1OvIgXQVlq5vGTJbOlB2P7x9Y/5H3wmDr2AaH60DRpAVDS3Gr7XMbGBaQ== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 31:oeoLSvzQoRfqIzl0kAh9VXMvR15+1NCkaZ6BW2ZHIC8fxVUKN8PyNVM7DzShl/pwqbqVPwAiZ7W2Qr5AZ8xZJ597cVL+RU/gqScPrL+FTfuLJHIsMxpINROg9d14QJ0NqsNFuof7GqnDLoecepK8sq+3rzUhyDeQA8WML3lyUDPZfILjXNb+GZq14VIxinUSy9gHrL29T/h6bxHbhfbvTKLVrmLaMP0B+6a02Z3VRfzghlF34AxquvR/lgso2VxX; 20:blMV3i5f595EQ19EaKWuLiWoGidtf6H3IEI3SjHyFGCAy9r5sa8EOTIXtC5cRtstK5qu7s9MWgAXGtmI3D1Mf5Ec+P4zj41vWrnwBYtlZnS6isiiwQxAy1+1VhIZUCoKv01D+1HcyobwVFumROV6A5k4xPO2fBAY+AAQnMRT3NbxgN/yINO+nmDG8SijUK2JtnJIC+ChTD9YPx81GPBItMpxoX5uG2r0yT+8Bosgw4+KqjsNvk9RKpcmAe2hd+67N4XSH5prGL0eKo8wtWhldOcORUB648ioBa9SlUMDBjY0TiFpDySQlQ3IDStMIvSKObTOgiCHeJvC5hA7r78u1wA2KVSB5WKKbM2xQ4PG8+ybjbTM6OsN7Ez5kZ3dXoUd0C6xmS1h9DuH0hNPgnm0o2aa5eSoU9AcU9jNnu7hhW+1JAV6U7sKEFBVkuJrnapd8ux3n+ec7P8FHXg5umE6GHEcQks6VeSOKNV6lucYXF3n8OarfBn27T1qo1sYiDfmKf4/aYPo9XHxCYCVu8eRT2PVUngEsqx/fQAFYE9mTq4IYVP3dtiiH/YUd2g2YJ04R9BPT1jw0cUo71JnbT44JwKP+06tB+5RkfX+SfRh/+s= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(3002001)(6041248)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123564025)(6072148); SRVR:BY1PR0701MB1723; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 4:BvMAn3ieLyDo4CVeK1m67KCUzAr3/VOIT8wTeCCih+4fCA1dkJf3Dv8D1Q2CAXx4bP3ahJD3Q1EosT91G+6AmsFCpykmwP4wfOC17e21NpfNi3T0Y0q3oRIMhmTXUo0TK3WV8STrfon6ZLZdfEwVX6gN9mn/N+AvtcdIJ/1zuo5Ixo8kWuCXg9+4/3/mTFWKEflsfmlfm0zqWs5yPxNdPWCEpAlZaTRDXIJw8PkVKnzFgxBvMUZE6tsjQJfCOj4eRRXa6LQYR1QkTfgB2Ms6EdHLxz8AnA5jOVapDbTdW5sSGh2Xp7oYUPWao2EnPoDVZzCmTeYarx6OotXE2iHpGdyvS/N/SZAd2CiEtQDzVxnge48Vv9i2sC8c13WuwfyPB67P8KGni3OkDg4GZdHsy2XyG8anFuX+ZMMkANhbV36IpgVNC00AyiDlbEoOrEFVu3iVDByVpvL4qufqoBelaYObzuQa/Yi/j7iFfTU8bJqofqpqlrolBhJtGhYhZqGrRiJ5DBK4Gnaqqim/cytqngucdBQWpN9P7+8K5Nk2p4CemX39faz66Gez7p/70UnVRc0m6wVYY1EOQl8WPVRHZ46m+42s2PAaJzfSRyZ6ptKD7DompPmSs7cUfF3Ks4vtdOV87GimJykGU3/YwxxOWF6jsiOMRD2dKn66OK3TocNcPcAv9sfz+Q9r/kv/9YRhoPJAgXhUWV8xpOUBU/NeC5QUnwd8CgLOwyrXpLO0gF9ZmtC0GKgws6QKAuiTGvv2 X-Forefront-PRVS: 02638D901B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(39450400003)(39410400002)(39400400002)(39850400002)(39840400002)(38730400002)(8676002)(107886003)(110136004)(50466002)(189998001)(305945005)(6506006)(36756003)(50226002)(25786009)(48376002)(6666003)(8656002)(6486002)(7736002)(2950100002)(5660300001)(53936002)(81156014)(81166006)(3846002)(42882006)(6916009)(6116002)(6512007)(42186005)(33646002)(2361001)(2351001)(76176999)(50986999)(5003940100001)(47776003)(2906002)(5009440100003)(4326008)(66066001)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1723; H:localhost.localdomain; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1723; 23:pAV31EPNetMaArzfH5pAaotrhKgWuqn/PbWSYIW?= =?us-ascii?Q?C18Sd/HLwz19GhUWUBqB9TPXNtGhZc7JYbJZguC0oxPNd+cW3dsgbGD8I5iU?= =?us-ascii?Q?koG2bj8DSmRlnoO3nXjJjF3xNkjkjIoiKfqaF7U3AgSMiuFAqUhDM+WmAWeE?= =?us-ascii?Q?wDWkgyf5iOcsUEqK0C+2IjxlqeRQP9MEW/UyXb/1cC3AHJJsvwoDXsd84TpI?= =?us-ascii?Q?udZcInMGX6K6gFiodA91CUch10DE6/jDqS+eVMvea8vvbckP/NKrCLFbPUWa?= =?us-ascii?Q?lJKsV3TgnYCmOGjvcTIhZZYz34aXeKr5jhDRQ6u65M/EYWyrn+86gQUfeq+4?= =?us-ascii?Q?XfuhAy9pTSOmKDb1qXOIL8YA+kzBGlFoIXs6v6OJfgnXS8MV/VaLkmB5GC5i?= =?us-ascii?Q?/bn3mh9wjvLtK9e2ymeuVy7X2YSxyDXVDh6wjVKqLSWHQRVLR5wpncvpexQr?= =?us-ascii?Q?odmW/35EZtTByvZrGIT+Pkt0Ly9oa6a3jo6aUrhmujW7OXBPzxcAJOoJ/a5g?= =?us-ascii?Q?4bY6M80xpmaNlFkXWSIkGrffh4SZp/W+IgHvaw0E5LTJvAM1gDuAiGkPnlxh?= =?us-ascii?Q?hH49XPH8DxA4d+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AY/pT0hGLLC5ZcpspuYNFlkJTy0Z5qCu2lLPMrVU3z7+0Lyu3Y/yRoxkpHsa1UWO4Nq1M4VZtT0bGxfHEdzFxjylMl7Da23QKwZyrJl1yFRJEOuFgITg==; 5:1jd4MJytiXDooqo1fUQy/bB3BQs1rQfiTMwnby6OxxDM34UCgRdVqsfmnoCm9YJ8daEMatmRAO0GfeW5dhEiYwRcGajXzlzo2q3yRaJV5pXFh1rpSeyefcDaLPljVSiALaIFWx6BvlDgSVMcC/qtQr56BjNzYdp/QvKRYRKxn4I=; 24:PqBgPp17yk3VTXinPeNGi+WvDLTlitvEAutddIxTIhDZNCbt6DZeZ1ymjwZ/Sb60LoWSRzNo4ytbaFQn+BNuj1McoGxOoKTNqs4jFpb4dYo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 7:34jdj/4zN2D55eAMm5elwwl5tlD5y2ybJJDOaneU9z1nktrjD6MxW2/aH+wvy8COYNzDah+BeBuTcnDNC78GJDshscZ+Zo3dy0jYg7ftJfbCyVNfwNN0wLEj7WUQFqjcK9JxWtPl5ohE30YDgMpH9hSDXgyze72xBTEUSgoBQrbiGDe/0IY+q3qaLTCRUhywvEnVp9gHWCdnBDp874omT9546IFb0mBLfq0YFr3H78SP385odKd8xl7dS1uOExSbRXh7OkhiD1uGzKFHFYvPs08xLj7f2Az3s/vfJjuD2Ns/kDh55Iik0vxbIC1izxANaN92dv534n52SF+iR4kqoQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2017 19:37:55.4929 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1723 Subject: [dpdk-dev] [PATCH v2 35/38] test/test: add remaining tests based on existing helpers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2017 19:38:01 -0000 Add the following tests based existing helper functions - Queue based producer-consumer ingress order test - Run existing queue and flow based ordering test in dequeue timeout mode Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- test/test/test_eventdev_octeontx.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/test/test_eventdev_octeontx.c b/test/test/test_eventdev_octeontx.c index 8ae8c63..4f24674 100644 --- a/test/test/test_eventdev_octeontx.c +++ b/test/test/test_eventdev_octeontx.c @@ -1305,6 +1305,14 @@ test_flow_producer_consumer_ingress_order_test(void) worker_flow_based_pipeline); } +/* Queue based producer consumer ingress order test */ +static int +test_queue_producer_consumer_ingress_order_test(void) +{ + return test_producer_consumer_ingress_order_test( + worker_group_based_pipeline); +} + static struct unit_test_suite eventdev_octeontx_testsuite = { .suite_name = "eventdev octeontx unit test suite", .setup = testsuite_setup, @@ -1370,6 +1378,13 @@ static struct unit_test_suite eventdev_octeontx_testsuite = { test_multi_port_mixed_max_stages_random_sched_type), TEST_CASE_ST(eventdev_setup, eventdev_teardown, test_flow_producer_consumer_ingress_order_test), + TEST_CASE_ST(eventdev_setup, eventdev_teardown, + test_queue_producer_consumer_ingress_order_test), + /* Tests with dequeue timeout */ + TEST_CASE_ST(eventdev_setup_dequeue_timeout, eventdev_teardown, + test_multi_port_flow_ordered_to_atomic), + TEST_CASE_ST(eventdev_setup_dequeue_timeout, eventdev_teardown, + test_multi_port_queue_ordered_to_atomic), TEST_CASES_END() /**< NULL terminate unit test array */ } }; -- 2.5.5