From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id AF9158D9A for ; Fri, 30 Oct 2015 08:13:28 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 30 Oct 2015 00:13:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,217,1444719600"; d="scan'208";a="674878946" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 30 Oct 2015 00:13:27 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 30 Oct 2015 00:13:27 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.253]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.96]) with mapi id 14.03.0248.002; Fri, 30 Oct 2015 15:13:25 +0800 From: "He, Shaopeng" To: "Liang, Cunming" , "dev@dpdk.org" Thread-Topic: [PATCH v2 05/11] eal/linux: add intr api to report multi-vector capability Thread-Index: AQHREtPN8t4t3Om4nEmIOvyxITIvap6Dnt4g Date: Fri, 30 Oct 2015 07:13:24 +0000 Message-ID: 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> In-Reply-To: <1446182873-28814-6-git-send-email-cunming.liang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Fri, 30 Oct 2015 07:13:29 -0000 > -----Original Message----- > From: Liang, Cunming > Sent: Friday, October 30, 2015 1:28 PM > To: dev@dpdk.org > Cc: Zhang, Helin; He, Shaopeng; Wu, Jingjing; Liang, Cunming > Subject: [PATCH v2 05/11] eal/linux: add intr api to report multi-vector > capability >=20 > VFIO allows multiple MSI-X vector, others doesn't, but maybe will allow i= t 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. >=20 > Signed-off-by: Cunming Liang Acked-by: Shaopeng He