From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iremonger, Bernard" Subject: Re: [PATCH v7 05/12] eal: Fix uio mapping differences between linuxapp and bsdapp Date: Tue, 30 Jun 2015 12:51:10 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C204A4351C@IRSMSX108.ger.corp.intel.com> References: <1435306705-11645-4-git-send-email-mukawa@igel.co.jp> <1435652668-3380-1-git-send-email-mukawa@igel.co.jp> <1435652668-3380-6-git-send-email-mukawa@igel.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: Tetsuya Mukawa , "dev@dpdk.org" Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9C450C316 for ; Tue, 30 Jun 2015 14:51:13 +0200 (CEST) In-Reply-To: <1435652668-3380-6-git-send-email-mukawa@igel.co.jp> 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: Tetsuya Mukawa [mailto:mukawa@igel.co.jp] > Sent: Tuesday, June 30, 2015 9:24 AM > To: dev@dpdk.org > Cc: Iremonger, Bernard; david.marchand@6wind.com; Richardson, Bruce; > Tetsuya.Mukawa > Subject: [PATCH v7 05/12] eal: Fix uio mapping differences between linuxa= pp > and bsdapp >=20 > From: "Tetsuya.Mukawa" >=20 > This patch fixes below. > - bsdapp > - Use map_id in pci_uio_map_resource(). > - Fix interface of pci_map_resource(). > - Move path variable of mapped_pci_resource structure to pci_map. > - linuxapp > - Remove redundant error message of linuxapp. >=20 > 'pci_uio_map_resource()' is implemented in both linuxapp and bsdapp, but > interface is different. The patch fixes the function of bsdapp to do same= as > linuxapp. After applying it, file descriptor should be opened and closed = out of > pci_map_resource(). >=20 > Signed-off-by: Tetsuya Mukawa Acked-by: Bernard Iremonger