From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 06FBFA046B for ; Thu, 22 Aug 2019 12:57:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8239B1BF6C; Thu, 22 Aug 2019 12:57:46 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B23A91BF69 for ; Thu, 22 Aug 2019 12:57:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2019 03:57:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,416,1559545200"; d="scan'208";a="354249909" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.108]) ([10.237.220.108]) by orsmga005.jf.intel.com with ESMTP; 22 Aug 2019 03:57:42 -0700 To: "Chaitanya Babu, TalluriX" , Aaron Conole Cc: "dev@dpdk.org" , "Pattan, Reshma" , "Parthasarathy, JananeeX M" References: <1566392575-7965-1-git-send-email-tallurix.chaitanya.babu@intel.com> <1566392575-7965-4-git-send-email-tallurix.chaitanya.babu@intel.com> <761FB0F2AB727F4FA9CE98D18810B0155B55F3FA@BGSMSX102.gar.corp.intel.com> From: "Burakov, Anatoly" Message-ID: Date: Thu, 22 Aug 2019 11:57:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <761FB0F2AB727F4FA9CE98D18810B0155B55F3FA@BGSMSX102.gar.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 3/3] app/test: add unit tests for eal vfio 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 22-Aug-19 8:18 AM, Chaitanya Babu, TalluriX wrote: > Hi Aaron, > >> -----Original Message----- >> From: Aaron Conole [mailto:aconole@redhat.com] >> Sent: Wednesday, August 21, 2019 9:15 PM >> To: Chaitanya Babu, TalluriX >> Cc: dev@dpdk.org; Pattan, Reshma ; >> Parthasarathy, JananeeX M ; >> Burakov, Anatoly >> Subject: Re: [dpdk-dev] [PATCH 3/3] app/test: add unit tests for eal vfio >> >> Chaitanya Babu Talluri writes: >> >>> Unit test cases are added for eal vfio library. >>> eal_vfio_autotest added to meson build file. >>> >>> Signed-off-by: Chaitanya Babu Talluri >>> >>> --- >> >> Thanks for adding unit tests for the vfio library. >> >> In this case, there seems to be some failures - can you help determine the >> cause: >> > As per log we observed > "EAL: VFIO support not initialized" > > Can you Please check if device is binded or not with vfio-pci. > If device is not binded we might get this error (EAL: VFIO support not initialized). > > We have binded the device and observed the tests are running fine as expected. > >> https://travis-ci.com/ovsrobot/dpdk/jobs/227066776 > The test should be skipped if VFIO if VFIO is not initialized. I think we have an API for that, although it is not meant to be used by application code. -- Thanks, Anatoly