From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0085.outbound.protection.outlook.com [104.47.41.85]) by dpdk.org (Postfix) with ESMTP id 995315688 for ; Thu, 1 Jun 2017 08:41:59 +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=1Fw6L5rMOppHwTT/a5yQITOLNhc4Ovm/If1rFr64iPw=; b=lwgZStuqsbCzsBTph9ZoAOFq4B6zM7AIBS8Ml92LnM6LHpdDdsuPLHnTwuHn7D5AQuLwHPF0m1ZVNdO6xLj9ri6LuTt0yyVc7yTJaH1btEXaL8Xsj8ZBpjM/Zve3itQmZBg/EogXLtjxZJ1csE1RoWHV3aQ2VpGBxmv53rzzmWg= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (106.200.255.153) by BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Thu, 1 Jun 2017 06:41:55 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: harry.van.haaren@intel.com, Jerin Jacob Date: Thu, 1 Jun 2017 12:11:23 +0530 Message-Id: <20170601064123.30448-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [106.200.255.153] X-ClientProxiedBy: BMXPR01CA0030.INDPRD01.PROD.OUTLOOK.COM (10.174.214.16) To BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0701MB1718: X-MS-Office365-Filtering-Correlation-Id: e3303ef1-0f36-499b-6237-08d4a8b94c11 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 3:+35FJ2NRWfjgBV/SXY1hxJ0cRk+hvsBapjhjUMKQY/lqMseBF47L6uC1tHArYDIYpTeTl08CbJjjEEN13eP9HR0F9cCwfVCJg18mO2j4y9ZmyU9Krnq3Q2ODmmPtIQt4p2ir185+NOPJuAoq/pUld+YG1MXljPGGAcltz0Vq2XBfd+b4k51DvMhuLTF4xHAhFv71q7eQa1KBmvbpW2rWxwTJE0S133IE65YDR/IzeNG3/ePa+4ALOCm3Mgl9HgYrpUkhWc1D+8gee83lYL2WqeGyY1+lmLVkgwUwuRFuucW2EQTl6EA6kVmzokQvoWTF4njA1mfhJHnEBYt++dxVzA==; 25:/nWsBNLgAc7AW17x5A905PWjOj6lC0wZ1e6LMXXuFEbR9AH0r2O9/KGGwMsmvf0KdnkLRb+A+vcgFjmivIEkLTVb4M5oR+AXf2e/sZGED8fKZWYCvdVDTH2z9a3C/SQAL6vEII9HiMEc27GH5551LZNTbQD356MUvxWpyosMG47+GEn4la4OAx0UrpFKVfOOmlTtkxTh5/dlcssGR1FSpmJjTT+aTjteQqq9TP+1zl5pO05pAOOl4jqL0GWcP16neH3jMq+bnQO18u0xLwiE1SIubKnDvl8Vf4EFuMsNiuncaRxlVQ3PR94TO0+XctjxDdXNg5aehuHjBG0cfJzvV0+bKdlpjhSkuxKiKk8Yqp10FO8O9PLJmse70rk3iR2waMaaAOWT78hgBFzFBvI6Xb7J6pQZQNr9jZUXVZ0Lx/jDxOt/v14jv3WM57QBESETkvBOF4bYfsquHomtISVWlVPvrGKvGLYjWhcqKlqceUY= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 31:ecHoXnPtW2eGogoizwDXfTL7kZvrdRHdb2vZlLlS+Bnb6pHry3ynI9AA1c1BnVUoRPAYBef56RORDBB8QtjMxEPWowozlD1FHYPUNZAi2BL9aNy+S8aQbO8+73VyR6S5rWNep8RyYLK16H3KbKFTaZgNO1m0DgiJKEYlj6Lhwx7IlJA5plNtar60SRCh1Z4p2jlk3VDSOlkOCrwWbL8nXcFMlhcMX8/OngjxafyNIyo=; 20:g0Hly7kmoOFSVzNEGNbT4w9kSmsNax2p6cYVEpNVD+0VUPxzWYGGZDXk7WBxdpLTp3SNzNj651krFX7NGjXiqUH6OFHd6iz5qY1aC5uTKECw+Cye/hMPASPNmqVdAgoxVVPOfO8ktkyYGifxZVIKgWcbjsjhaaxb3BTMneY8yTp7838O+O7/ToZCWhRg4ibi+4EUcFtMJYQM5ZxMDX1Bupo3/TiWubyTbEHqhEoyKNuOh/j44fazGm53NJ0bp8A++pgNFJzqzU5TAv3hz1Hx/hbYDRgTqmu8He7X2UZu1qpmxhNZMzsUSu7955fYMowgC4i4RQMaB02Y5Xb3Bc3qvq+H8zm3TAGy0mtq6vajwrzPgfSLJbI9bAcfNs7jU3piRPGtmdr4QtDSwTdPUGHMVefRP2tMp6Oel9TT55mZ9ymItrb990DK8IUYlXfbJ3L6VjpLPlvnFuxw1isLMs5EZH6pyvcWGNI3vTSR3km9jMgYOeSRKP4NelRBc/UJVbcZwHrTalKJgtG4vznx4gley5VRt2o36w/X5fAEg2yskB46Wp7vXb0l4D10sGHoidgL4oCq7i8e5e2EWbtH3eHlI4o92dGotbTFxFT91nF/RfM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700085)(100105000095)(100000701084)(100105300095)(100000702084)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(100000703084)(100105400095)(6041248)(20161123560025)(20161123562025)(20161123555025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704084)(100105200095)(100000705084)(100105500095); SRVR:BN3PR0701MB1718; BCL:0; PCL:0; RULEID:(100000800084)(100110000095)(100000801084)(100110300095)(100000802084)(100110100095)(100000803084)(100110400095)(100000804084)(100110200095)(100000805084)(100110500095); SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 4:u3nVjOq2UCM/6xEZjYIWCt/lYZn2zm3zEZmrzUmC?= =?us-ascii?Q?4C2tlAiCHFI77gD21fPIG4rYpkrGMrM5KieMNBkLU73VlDyu8ZGXXjWpwr3Z?= =?us-ascii?Q?7G1QclCcX/kh/9mLheoZLFGH4id8OZq9lgM8HIc7VItMYwMTgS98HNmCcsZ1?= =?us-ascii?Q?hYly2i/ogiupmDVPTAGNCoZCJVJIY8l5/4AtWm9oDy5AnR6b4rskyLGt/XA+?= =?us-ascii?Q?Lj0xkqzwJVfm1vb4QyMb8JTQeuWz40iRsGoFUC/yAB0xihUYVgWCzGUtJUZ3?= =?us-ascii?Q?kqa8hael9pF9d5PwkDP/vt+J1Be4F5PkF1y4tSPAcFvQdl8tC5ZOtfDe9W9P?= =?us-ascii?Q?thB4jrbSl1JK2hg5Qo7+wvAPyxPjl/HY+7lLr4w/qBRcY8Sk3tuoi8sSumJo?= =?us-ascii?Q?GaA7N1fq1bmfFlAjN3BdtChy8MstIMt5AzPIxjesEUfoCHBi409ywf5qInXo?= =?us-ascii?Q?0u5CIJM8nDOpCk99eNyl+1dmYXWshh0QD8GDvssLY2WyoRFIdGkGvJE+SHQy?= =?us-ascii?Q?MMd3+Xso5BXvxjOm6K/pU5uuyIF+PpdsAUqk/K1foPZcAqjutTQjO8ifFl/n?= =?us-ascii?Q?vYXVjPuWxxtFxc2/KZOfB9vE5bTQgdlUPciy50U3LwJL2FwRBPZpYarHLEr2?= =?us-ascii?Q?RpOLPHJ0rijJb5cpLM/hWRfN9Ne0kKxfRS7JYXW56kDYRMMwk4MehdtesCHn?= =?us-ascii?Q?fk0QgW53A0EsYXdGmVy73Gmkae+Vzz1MHBHLxBWN/9l7BDkcXGEOC139JYa6?= =?us-ascii?Q?ZXdUcJnDng7qOFwf0LmD6YKwwtuPE7YfiIO+JsDkKCJrmiS0e5Gl/Ru9+qTc?= =?us-ascii?Q?9pL1nqprjCDqHaTSUSrs1E2CqxpHwlgwqpOhYHPFiqh0mL/YLuK+pm9mDiH4?= =?us-ascii?Q?qGmVMK+yDkSEsjxe2BAUcBwYNYoEawxn9cnDo/BKSn/p9pltkfALuumCiFOZ?= =?us-ascii?Q?1mOxISwhLP67oy+wijwjExCTRWM+EnKgYQa1OadtTreE2Ga30/2k0d3BHbHt?= =?us-ascii?Q?+8G//iBzZGi6c5Ougq6eAKS4X9/y/D199DI5TEQ/iYOY5UC28K8fVCUN2FcX?= =?us-ascii?Q?rSw5rFsxCBEFzJjYAAIJVRvb1obfneJ53123DU3XiUQd2CEGiUpEOVGv2+51?= =?us-ascii?Q?3An1J5cQ6/w=3D?= X-Forefront-PRVS: 0325F6C77B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39850400002)(39400400002)(39410400002)(39840400002)(42882006)(50226002)(478600001)(6486002)(53936002)(8676002)(6916009)(66066001)(81166006)(6666003)(305945005)(7736002)(6506006)(72206003)(47776003)(5003940100001)(5660300001)(50466002)(1076002)(6116002)(3846002)(48376002)(50986999)(2361001)(33646002)(2351001)(6512007)(36756003)(4326008)(2906002)(15650500001)(5009440100003)(38730400002)(107886003)(189998001)(110136004)(25786009)(53416004)(42186005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1718; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 23:Adm2D1BijJV2YT/1DaPSgHqUT2V5rsb7UoaECL1?= =?us-ascii?Q?DZwaSqnpeOsgQHAREDfvaq5h11kGr3JbjFudszxUVE/sv/ui+fNHmYh/+ZBj?= =?us-ascii?Q?8H+57wb0E54vlF6a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0rSvCEEcxqiuaR8gc/LeYi+bRJPLNxQ1HFWCHHErJavULp8GTfKkoW0sw5b/a/1di+4HIkR+gNz525O7GdVgbv8wzKNy7frIrw2sVTBM74mzbc6XDFGkpdkba38KzItciDfaTSdM3kdM6PNlI85Qtsx6KePPRDrzh/PoGTpwdkA/D0NmqDyhUjW9DZ2qmSnJKw2lZlVxniueOylDyummcUC5r+U9+e0QxM2fAEdhAutORHK4Vv8h8/YbuKDOaiyWrDasdOhyN4AarN7m7IOFvjSdeXy9emyxmbTbKzXR; 24:tNbrJeOgN7vhbIORpM0cqSkqH716IqhhUvDLXbw15BuuqQA0dLminUP3mtQxQHIiLSYRN/XNwlM33YWqb3RF8aSYkf5ZI5PBd9QBPMJLuW0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 7:Bmx1usOULNfjKztD1EoZ9cXBAgHpv20TnOE146E+e66Uor30NLtYSnq9VnSNAL2YRASYcJizejoz5YuTfOt1iKAD6rb0Usqct6m7kUgSIktr4pbXMI54hfgC27yQNgUXAdHhfJe9LlqwrZwYIoA0S4Ist8KWqGwsfG1/g2zmsCRa25vsWS/BbGsg60oTaMNUQSOfR+m94Wwv4Xxm1xpiF+0x3UNb99Nzol5YT64YmwrHt3yA37m4ia+o75J+V8n5YU2lzS0pmX3h09uZe64H5RxBhwA8i+m/EyPGzgj9byoQkXh7jwpaHBdos+sC7gXBiOPHfVX1Emad2xRZJx+g5A== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2017 06:41:55.0174 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1718 Subject: [dpdk-dev] [PATCH] test/eventdev: octeontx: verify priority test prerequisite 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: Thu, 01 Jun 2017 06:42:00 -0000 octeontx specific priority test expects priority of each event queue to be a unique value. Verify that condition before it processes to test the priority. Signed-off-by: Jerin Jacob --- test/test/test_eventdev_octeontx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test/test_eventdev_octeontx.c b/test/test/test_eventdev_octeontx.c index 9e95722ba..5888c73aa 100644 --- a/test/test/test_eventdev_octeontx.c +++ b/test/test/test_eventdev_octeontx.c @@ -194,6 +194,11 @@ _eventdev_setup(int mode) TEST_ASSERT_SUCCESS(ret, "Failed to configure eventdev"); if (mode == TEST_EVENTDEV_SETUP_PRIORITY) { + if (rte_event_queue_count(evdev) > 8) { + printf("test excepts the unique priority per queue\n"); + return -ENOTSUP; + } + /* Configure event queues(0 to n) with * RTE_EVENT_DEV_PRIORITY_HIGHEST to * RTE_EVENT_DEV_PRIORITY_LOWEST -- 2.13.0