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 9C450C316 for ; Tue, 30 Jun 2015 14:51:13 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 30 Jun 2015 05:51:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,377,1432623600"; d="scan'208";a="516565397" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by FMSMGA003.fm.intel.com with ESMTP; 30 Jun 2015 05:51:11 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.201]) by IRSMSX109.ger.corp.intel.com ([169.254.13.200]) with mapi id 14.03.0224.002; Tue, 30 Jun 2015 13:51:10 +0100 From: "Iremonger, Bernard" To: Tetsuya Mukawa , "dev@dpdk.org" Thread-Topic: [PATCH v7 05/12] eal: Fix uio mapping differences between linuxapp and bsdapp Thread-Index: AQHQsw5Y+g811WT8uUKKS8Y88iT4Wp3FAGrQ 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> In-Reply-To: <1435652668-3380-6-git-send-email-mukawa@igel.co.jp> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 05/12] eal: Fix uio mapping differences between linuxapp and bsdapp 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: Tue, 30 Jun 2015 12:51:14 -0000 > -----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