From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0044.outbound.protection.outlook.com [104.47.34.44]) by dpdk.org (Postfix) with ESMTP id 2A599107A for ; Sat, 16 Dec 2017 13:12:48 +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=9IfJDf5GcCKM3MuQXvlxh7ENhaGJrICPYFFM5cy/rYY=; b=ZdAzuOAvvFHiVvkxO4rMUsK9g/32wyn+pWC/a/cyHPjJDT7N+FhPGG8CFDYddQ7R/QkbvIJvJT+krcGl6/F+ygahniCkYXfDZtJtYZ7ACdNsxqxz4msVqVl6HQLyLVdAQ/t+z8Rj12uXNqsnvHOxUrelOLeZ6tqH2sK237JIONs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.200.203.28) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Sat, 16 Dec 2017 12:12:43 +0000 Date: Sat, 16 Dec 2017 17:42:16 +0530 From: Jerin Jacob To: Liang Ma Cc: dev@dpdk.org, harry.van.haaren@intel.com, bruce.richardson@intel.com, deepak.k.jain@intel.com, john.geary@intel.com, peter.mccarthy@intel.com, seanbh@gmail.com Message-ID: <20171216121215.GB15284@jerin> References: <1513337189-137661-1-git-send-email-liang.j.ma@intel.com> <1513337189-137661-5-git-send-email-liang.j.ma@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513337189-137661-5-git-send-email-liang.j.ma@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [106.200.203.28] X-ClientProxiedBy: MAXPR0101CA0020.INDPRD01.PROD.OUTLOOK.COM (10.174.62.30) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 37116673-4c37-4258-d3ca-08d5447e513f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:xPHLPgjP1SbL6YtA2i1wyZjoQ3AUkbq0ixFVmlS+8MXimCsCs9b2c6T7o++kTtddkP/L6K3/Yp9ZlDXLVS3iiNa1KxvU7+6P1dIq4spU5GEm5qDNgoXNifjAPIGa+kQlIyRcfT8VyLxcG35f3rKJZ5/fKizfU0fSJTSX0Csil6X9vIpkL6/OvUPO5dwP+AXUhQLvD7n3ENDahIJ061swN4CZyU++8wqLhklkIasOfVwWj6AeyKmK4BN75ew41iPs; 25:ljo3pLXCsRpG4RPkCNvlhUHE9ajsy1zvV9dJzVTmV+JpAjvRNXbpKjr2XHZDpvtKi1rSUctpTapzPDu7tX0+QbN7WrTxIoME2w3JiHyPt3G34cOvERVRGYdtLiN8CGQyoq4CxHfd2FdK60uMZTggakc9y+d5r/ZmQGeYit2G/9v+3qHYFDN3BOSAyCTKq91bdHxOubfV82aB9vArbDpxFhQ52cX8vlYs+BTTyFpwT+zPYaI4l19UJhvhVIw52YQzKhcpkxCGVq4rWKIYr/dSxmTqH9LFIOgcBRZlRogXSSu8GZGoJvxJAMTOtbDNsaTfCwjbtUv9SWCL29MuAglmBmu24NaSygB0cVdbXPhuUmw=; 31:kh4QxOShQWpVaAvhxVSYI+/xvUAPKujlHi5x5DpsuFYsOhZemWUZiCrQVMO4wwBkRc8M8unzorQUPPs8XINKTR6zcmIOE4U2F5e5makTGNlurRiPggZ1hBnn/vkppmongIdzYFEBANnLWkI7lAU5Nwb+CeVEbDcVCyD9nHB+EeXc8bxZ+yV7yA/p6aMItc8vS6mjk1eRWPPJMb6VHJsZGvCyMjeqA5m2IFQT0CL5cxY= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:z9o9Eul1u6+WcOGAOaz8sOH/3GmV0wk1gaRuDkYWaYGhXye54XvS7wTsS+Ds8E4ZcTlfZR9Lq1acGjdsRv1sY2qXK0bvMHzNdzb7X92kAszTJ/TVvy735rmnMsquxNSuxnrMPl1ryBydTN6wcU+7LLIfi3bjZKxLQI9URZr77W3Bb4KkLLbQedIp5JCzcbN1wJmzcVHCtN6qxY3mcglDY+NJ5PJZDmg3G+FVT1QuKZGSyTgzif/tnSU0g/LH1FxVBI9Lw6m0Ppi3dbbMjl3TmbNpdANEgZUa7OppDpZxqfJjXOT8X7N+n5jLWzJG/5fciL2ceXc0+adBgfM/fJLxeNmCp5HoFCsWK8KIqAgnlTKCA8UL+OhU/RPP/HrkjWPP9lnQoPSXOmug9c7KEOrUofAb/14Tk0uvib3ZLJ2Iav9PWirs+fFl4gnKeJiilMSe4QDrJFeSex/jRYlmaM5k0vajME4U8yDn/lgsmGwcmJXvlsUsQDFbLWKm8ZF7IOchZiWSgD4VERWF4zZkS8RQBLhXslrC6HCGAB2ajK7Pqo15M7o5E8RmK+x9nqyxy8rgEtNiXDPacAzFS3xtqC8Eqbzdyhio4sfFcoWIz+s1pl4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(228905959029699)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3002001)(3231023)(93006095)(10201501046)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(6072148)(201708071742011); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 4:p4TQGcsG9rGOkdoICcq7dEtLyeg2h01nZoRpkm71vQhimm/lW6mqSfvU9MBLqxzLJclxGrhXhPf3DSOUqVDmusczMXCH0/VX9Kz4tcG/dZUkPaP5nzfL598I2uH7Q+/mdRnYFTgtQMBv3bNRf8Ozzd20G8p9UYP6EnlcDIRQubmZ7wiFjWfedURrJHJgfHSWBqFJ3ToMeUmXhWVAxcx45hf+kAkBDMKEjMNPQZquBb/2hht70X9BLeChM2CnIIZAIaLXweqSvmSBGt3tAGhbEKC95oepUs/p1d75/gK34iNKFzuAIHr+uXbzS4lns6P/vPILjPZuC4WszyIUVdWw7fzgFGwpsplOfdheDpRCQ8/MAGmUh/PzWomkmo0CBrw+ X-Forefront-PRVS: 0523CF0711 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(396003)(39860400002)(199004)(189003)(13464003)(72206003)(316002)(6246003)(1076002)(229853002)(3846002)(68736007)(23726003)(478600001)(105586002)(6116002)(106356001)(39060400002)(4326008)(53936002)(83506002)(25786009)(9686003)(47776003)(6496006)(76176011)(33656002)(66066001)(55016002)(33896004)(5009440100003)(5660300001)(8936002)(2950100002)(52116002)(50466002)(6916009)(33716001)(6666003)(42882006)(305945005)(81156014)(7736002)(16526018)(97736004)(81166006)(386003)(58126008)(2906002)(8676002)(59450400001)(16586007)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BN3PR07MB2513; 23:AT/Zuv0a7j9PrAJ6vROvEUWMmQAvQkbYADVdo8Api?= =?us-ascii?Q?i73p4XCH9grN6tDvkZKoGglAKMnAQN5Im7R7jkq8jOLn0jkAwOCSQHbWoUHH?= =?us-ascii?Q?OOrP39PxRR2tf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Rw=; 7:PVMnYstjBY9J5ZeB4gGdMMRCIbjW75T4u61pyYmrYe2cpP2ljQ6nvESj186KFMvVbV7QYeHvNbFY/ov3j0WPcuqO8iP3ZnJ8jHnuyy/kfJimiNIU0H7nXImdiViGvnUedjykihf2kaK3Tmm8oWwgl21DB2JAJln3L77zpMne2HguEwRCR0cJ0QPSnLRSa/vnnt7HX+6keAcV9vJBE+u+TV6H8wCPooOJrX9dJ7D+Y/olOlBlEnAPEqtYXGRcDjEw SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2017 12:12:43.2966 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 37116673-4c37-4258-d3ca-08d5447e513f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-dev] [PATCH v2 4/8] eventdev/opdl: opdl eventdev pmd unit test function 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: Sat, 16 Dec 2017 12:12:49 -0000 -----Original Message----- > Date: Fri, 15 Dec 2017 11:26:25 +0000 > From: Liang Ma > To: jerin.jacob@caviumnetworks.com > CC: dev@dpdk.org, harry.van.haaren@intel.com, bruce.richardson@intel.com, > deepak.k.jain@intel.com, john.geary@intel.com, peter.mccarthy@intel.com, > seanbh@gmail.com > Subject: [PATCH v2 4/8] eventdev/opdl: opdl eventdev pmd unit test function > X-Mailer: git-send-email 2.7.5 > > This commit adds unit test inside the OPDL PMD. There is a PMd parameter > "self_test" can be used to triger the test when vdev bus probe opdl device > > e.g. > > sudo ./app/test --vdev="event_opdl0,self_test=1" > > Signed-off-by: Liang Ma > Signed-off-by: Peter, Mccarthy > --- > drivers/event/opdl/opdl_test.c | 1079 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 1079 insertions(+) > create mode 100644 drivers/event/opdl/opdl_test.c > > + > + > +/* destruction */ > +static inline int > +cleanup(struct test *t __rte_unused) > +{ > + rte_event_dev_stop(evdev); > + rte_event_dev_close(evdev); > + printf("cleanup for test done\n\n"); Replace printf with driver specific logging function across the files in the driver.