From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 16 Jul 2015 23:00:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,493,1432623600"; d="scan'208";a="766154607" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by orsmga002.jf.intel.com with ESMTP; 16 Jul 2015 23:00:13 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 17 Jul 2015 13:58:53 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.165]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.129]) with mapi id 14.03.0224.002; Fri, 17 Jul 2015 13:58:52 +0800 From: "Liang, Cunming" To: Thomas Monjalon Thread-Topic: [PATCH v13 08/14] eal/bsd: dummy for new intr definition Thread-Index: AQHQqkSbWVo4wKd7FkGDdCHNtRmRi53ZQdqAgAYSZbA= 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> In-Reply-To: <7895527.YHeWEq3JWL@xps13> 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 Cc: "shemming@brocade.com" , "dev@dpdk.org" , "Wang, Liang-min" Subject: Re: [dpdk-dev] [PATCH v13 08/14] eal/bsd: dummy for new intr definition 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, 17 Jul 2015 06:00:16 -0000 > -----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.