From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2FC528E94 for ; Wed, 4 Nov 2015 02:18:33 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 03 Nov 2015 17:17:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,240,1444719600"; d="scan'208";a="826291405" 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:17:30 -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-2-git-send-email-cunming.liang@intel.com> From: "Liang, Cunming" Message-ID: <56395CA8.7090500@intel.com> Date: Wed, 4 Nov 2015 09:17:28 +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 01/11] eal/linux: vfio map misc intr to vector zero 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:18:33 -0000 Hi David, On 11/2/2015 11:53 PM, David Marchand wrote: > Hello, > > On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang > wrote: > [snip] > >> diff --git a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h >> b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h >> index 45071b7..b8fd318 100644 >> --- a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h >> +++ b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h >> @@ -77,6 +77,9 @@ struct rte_epoll_event { >> struct rte_epoll_data epdata; >> }; >> >> +#define MISC_VEC_ID (0) >> > "misc" is not really descriptive ... > > >> +#define RX_VEC_START (MISC_VEC_ID + 1) >> + >> > Please, prefix these macros properly. > Else, when looking at the driver code, this kind of macros seems to be > local to the driver. > > That makes sense, will fix it in v3. Thanks. /Steve