From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 9479B95CA for ; Wed, 27 Jan 2016 16:40:34 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id n5so32489034wmn.0 for ; Wed, 27 Jan 2016 07:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=1VGxju6ZtgU6YhNN2/ryogcuA3Elm+xAco0xDXAY0O0=; b=G1f5FbTahpJKjzKJsKXGpgzXHqCyOVq5g6VurxwlkAbT5PMKroqVUJeenSLBbHHbqV OGRRCy8W+DOKJSmwNy0wuENNDPz4nPE32l3NWS7nUuzqWltH+1lLWWJPjhFHCVgtkHmv a6Du+SSu1NatStDQPGuCh6/rXVI0NSDYSO6afWMMxVqHgd8tPmycU1UxBUk8fS7HCguD oGFS0tsuArCLvorjFLjwbIdahTZiiYxwVbT1e8O8HGSfMDYtH/Vh6nZdTPPx8xBvFl8I Xgxg9QxW/TRCA4J2TquuIgBjoEEdnV3Le5ivv0XKtYgBhtjB2Fcj5d2zHa4c1KSwxpCW JMxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=1VGxju6ZtgU6YhNN2/ryogcuA3Elm+xAco0xDXAY0O0=; b=Q8QFcmSEpgurQx4yzsHJf8wvByusjlruCgRZUQFv4CVxpuhUbnnZL0lMoQ0V9Ns+uQ YR4yON4v9LVyBb8Quk7Wcy9ScMFOwjtwTNDjREMK/jjZq3JLyzjLFF1Ur/nqyu1LOp7c xSwvPgoQVTyCQpTQDiPEir21XRiWZDo6t7Uu1GA778m6BB9LFUkZrtuBwQQbkFpF7N/F zk/rIXGhCYNOvxg1nJ6IGjRcYtL+7Itg2LvQAxdxY5jUZpM6Wwz53snw6oVBnHBZ7V+9 uCmaaJSWoYjZXj9mE0+5lu0dc4U3oMOMdN0I54sSYaUXSMwnjhWstvlbrzlmSTPU1Obr ltLw== X-Gm-Message-State: AG10YOTRs1AY14VLZqE8Aisf27fI5zxznNVWGCgDVBhwX+JfNdarCRjMBfYC4AJe0BXwH7Dg X-Received: by 10.195.11.100 with SMTP id eh4mr32846402wjd.83.1453909233464; Wed, 27 Jan 2016 07:40:33 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id s8sm6726737wje.35.2016.01.27.07.40.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Jan 2016 07:40:32 -0800 (PST) From: Thomas Monjalon To: Santosh Shukla Date: Wed, 27 Jan 2016 16:39:23 +0100 Message-ID: <25509182.RtDY3IvNbk@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1453229842-15310-1-git-send-email-sshukla@mvista.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: "Michael S. Tsirkin" , dev@dpdk.org, Alex Williamson Subject: Re: [dpdk-dev] [PATCH v6 08/11] eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2016 15:40:34 -0000 2016-01-27 21:02, Santosh Shukla: > 1. virtio currently works for vfio+noiommu and likely will work for > vfio+iommu in near future. > 2. So remove __noiommu suffix and always use default. > 3. Introduce vfio resource parsing global function, That function > suppose to do parsing for default vfio case and for vfio-noiommu case. > This function will be used by pmd drivers for resource parsing purpose > example virtio. > > Yuan won't be happy with 3) I guess, because he wanted to get rid of > interface parsing from pmd driver. > > Thomas, if 1/2/3/ addresses your concern then I'll spin the series, I agree with 1/ and 2/. Please, could you explain why 3/ is needed?