From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 06B5C8E95 for ; Wed, 4 Nov 2015 02:21:30 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 03 Nov 2015 17:21:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,240,1444719600"; d="scan'208";a="826293508" Received: from shwdeisgchi017.ccr.corp.intel.com (HELO [10.239.66.70]) ([10.239.66.70]) by fmsmga001.fm.intel.com with ESMTP; 03 Nov 2015 17:21:29 -0800 To: David Marchand References: <1443072831-19065-1-git-send-email-cunming.liang@intel.com> <1446182873-28814-1-git-send-email-cunming.liang@intel.com> <1446182873-28814-6-git-send-email-cunming.liang@intel.com> From: "Liang, Cunming" Message-ID: <56395D97.3030808@intel.com> Date: Wed, 4 Nov 2015 09:21:27 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2 05/11] eal/linux: add intr api to report multi-vector capability 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, 04 Nov 2015 01:21:31 -0000 Hi David, On 11/2/2015 11:59 PM, David Marchand wrote: > On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang > wrote: > >> VFIO allows multiple MSI-X vector, others doesn't, but maybe will allow it >> in the future. >> Device drivers need to be aware of the capability. >> It's better to avoid condition check on interrupt type(VFIO) everywhere, >> instead >> a capability api is more flexible for the condition change. >> >> Signed-off-by: Cunming Liang >> --- >> lib/librte_eal/linuxapp/eal/eal_interrupts.c | 9 >> +++++++++ >> lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h | 10 >> ++++++++++ >> lib/librte_eal/linuxapp/eal/rte_eal_version.map | 7 +++++++ >> 3 files changed, 26 insertions(+) >> >> > BSD has wrappers for the rest of this api, please add one for this too. Yes, you're right. Thanks. >