From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Liang, Cunming" Subject: Re: [PATCH v13 08/14] eal/bsd: dummy for new intr definition Date: Fri, 17 Jul 2015 05:58:51 +0000 Message-ID: References: <1433741351-27005-1-git-send-email-cunming.liang@intel.com> <1434686442-578-1-git-send-email-cunming.liang@intel.com> <1434686442-578-9-git-send-email-cunming.liang@intel.com> <7895527.YHeWEq3JWL@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "shemming@brocade.com" , "dev@dpdk.org" , "Wang, Liang-min" To: Thomas Monjalon Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2129B9E5 for ; Fri, 17 Jul 2015 08:00:15 +0200 (CEST) In-Reply-To: <7895527.YHeWEq3JWL@xps13> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Tuesday, July 14, 2015 1:06 AM > To: Liang, Cunming > Cc: dev@dpdk.org; shemming@brocade.com; david.marchand@6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; > nhorman@tuxdriver.com > Subject: Re: [PATCH v13 08/14] eal/bsd: dummy for new intr definition >=20 > 2015-06-19 12:00, Cunming Liang: > > To make bsd compiling happy with new intr changes. >=20 > This patch doesn't make FreeBSD happy. > DPDK works on Linux and FreeBSD. > Why not adopt an API which could be implemented for FreeBSD, instead of b= eing > tightly linked to Linux epoll? The *rte_epoll_* API is not provided as a EAL API, only exists in linuxapp = for the low level needs of combing rx event with other user events. I haven't defined the abstract EAL API for both linux and freebsd yet. The next step is 1) to have a bsdapp level API (base on kqueue), 2) trying = to provide a common EAL API to cover both. It's planed in next release.