From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0089.outbound.protection.outlook.com [104.47.41.89]) by dpdk.org (Postfix) with ESMTP id 5A02B1B025 for ; Mon, 8 Jan 2018 10:49:51 +0100 (CET) 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=+2wSrIStXVwBNgNOj7V5yjbdvvnldVWQ5+4kVRScumI=; b=n9fVuXNBfA2VC3CcmqxqyCYaBX43B5LU0SIQ+FAOEWDY4+2fLQ5wURgEb478QtIRPfGet7MoCiBIChqs9IQx6DOeUaujaZdgrtT0/2ewuoASNbA9lysEVT6Db1PlTDkB7bRtxV/6/4Ezu5YpKJIlxwQ6KZ5U1J7NJLl0Pm7Y8PY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.61.92.144) by BN3PR07MB2514.namprd07.prod.outlook.com (10.167.4.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Mon, 8 Jan 2018 09:49:47 +0000 Date: Mon, 8 Jan 2018 15:19:29 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: harry.van.haaren@intel.com, gage.eads@intel.com, liang.j.ma@intel.com, dev@dpdk.org Message-ID: <20180108094928.GA24213@jerin> References: <20171212192713.17620-1-pbhagavatula@caviumnetworks.com> <20171225191738.17151-1-pbhagavatula@caviumnetworks.com> <20171225191738.17151-10-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171225191738.17151-10-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [171.61.92.144] X-ClientProxiedBy: BM1PR01CA0106.INDPRD01.PROD.OUTLOOK.COM (10.174.208.22) To BN3PR07MB2514.namprd07.prod.outlook.com (10.167.4.139) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 468d20e9-5cbe-4ca2-a19a-08d5567d28e8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 3:4jQWnzDtCeAB8EFnMzpdbbsxOUKbdqjVaJ7ih56jfUDfUNrE3XbrsiLpmUkD+La7+DIVRXeIB2ztDYzFls7sVgn3m449G1tLiXjRz+H6aVyKYHdsvgzpwiNnZXE8PKL+B24itvikCibg8B4foxMNTdsWclRaC5HBPO2RYhGR6rKNg1OlXDyU7QVScAj5syvf76jH1ee23vRLFuEAG+tbuF0ixIQKGBn82SpCe4iqmXgTbsznEfyXIdn4zq70H3W3; 25:mIQyIh7LOlWRktK1/hbp3Dv4o+aS9f30XfVw2/s5DROQPT9v5Q1OmaqV0YJglAD91ovWnxJjtgglduFYogf3gYzrD/aDwkM9ZJy0yibX168+MrVVkucolQRTdvCNm+AtEwAuB5vIXH8DOrkUIfuazQHj77mgSGAJWvPr2cHsmZqVme5G9pg10W1oQ4OZRcdX2E3u1t9OsV7T8HBzI0KtPzBBt8OBKuzro8SPgJJrEXCPD9cs1+enRMw3siRy4UJL/6fr4vY9iQG1Xm2qHfkMuxSmRHlCx/pyPOECzKTq/QF+ZxxZ4KT1e268rxc6xXY0SKwzgKMaUOE/ReTiC5SOng==; 31:OJOIvnLHvOBIHdAvehzZ7Pczoy/Refe3Mn5extrfxFX/oomoJnLGDDD/JxuQWMuqPSRwI2HEF+9xonwLudfX4V2WLPrt9OuXPBpWzqVWDUzjmZSyFmO2SKSpUVztNgYJibDrnNhmrFPlCeOKTngrGmxQOmHIe0NXXlw9ftfYaZZzYB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X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(10201501046)(3002001)(93006095)(6041268)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:BN3PR07MB2514; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN3PR07MB2514; X-Forefront-PRVS: 054642504A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(346002)(376002)(366004)(39850400004)(396003)(13464003)(189003)(199004)(76176011)(6636002)(52116002)(97736004)(3846002)(1076002)(42882006)(23726003)(6666003)(33896004)(6116002)(53936002)(6496006)(229853002)(2906002)(4326008)(66066001)(386003)(6246003)(47776003)(33716001)(68736007)(5660300001)(8936002)(9686003)(81156014)(8676002)(50466002)(6862004)(105586002)(81166006)(16526018)(316002)(58126008)(16586007)(305945005)(72206003)(2950100002)(55016002)(106356001)(478600001)(33656002)(7736002)(25786009)(83506002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2514; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2514; 23:gVl8wWAgrpxQvTE+T/IDIb8LrxAo55hQ+cxFZNwTI?= =?us-ascii?Q?+PgTNlTetH/1jdD0Kbtkj4tjk1EUH7lntnzzeKyQH6W5th6yPmZqwCZ4GwmW?= =?us-ascii?Q?4gvFTbY66Hp+P5o26TxUp9uT41eyqEhEOGKQUDlqh3j4zuhmPiE/VOHCaHxl?= =?us-ascii?Q?X0hUC6oVp4MILgmR8Cji07TeeBZ6mfrLUcQW5ne/E7S7uX1UmDfus6WDjufD?= =?us-asc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mD7YlT7vEtR2xe6dA9Yk8Db4qqq9dvghYw9cnroV0LxO4VG/t1pD5A6T4tQ3aDQlAmphKcnDVawtit4ChoaDMC2Dc1J SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2018 09:49:47.9403 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 468d20e9-5cbe-4ca2-a19a-08d5567d28e8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2514 Subject: Re: [dpdk-dev] [PATCH v3 10/11] test: register eventdev selftest 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: Mon, 08 Jan 2018 09:49:51 -0000 -----Original Message----- > Date: Tue, 26 Dec 2017 00:47:37 +0530 > From: Pavan Nikhilesh > To: jerin.jacob@caviumnetworks.com, harry.van.haaren@intel.com, > gage.eads@intel.com, liang.j.ma@intel.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v3 10/11] test: register eventdev selftest > X-Mailer: git-send-email 2.14.1 > > Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob > --- > test/test/test_eventdev.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/test/test/test_eventdev.c b/test/test/test_eventdev.c > index f8ee1bef6..7465251dc 100644 > --- a/test/test/test_eventdev.c > +++ b/test/test/test_eventdev.c > @@ -1018,4 +1018,26 @@ test_eventdev_common(void) > return unit_test_suite_runner(&eventdev_common_testsuite); > } > > +static int > +test_eventdev_selftest_impl(const char *pmd, const char *opts) > +{ > + rte_vdev_init(pmd, opts); > + return rte_event_dev_selftest(rte_event_dev_get_dev_id(pmd)); > +} > + > +static int > +test_eventdev_selftest_sw(void) > +{ > + return test_eventdev_selftest_impl("event_sw", ""); > +} > + > +static int > +test_eventdev_selftest_octeontx(void) > +{ > + return test_eventdev_selftest_impl("event_octeontx", ""); > +} > + > REGISTER_TEST_COMMAND(eventdev_common_autotest, test_eventdev_common); > +REGISTER_TEST_COMMAND(eventdev_selftest_sw, test_eventdev_selftest_sw); > +REGISTER_TEST_COMMAND(eventdev_selftest_octeontx, > + test_eventdev_selftest_octeontx); > -- > 2.14.1 >