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 8CD63C8FE for ; Fri, 26 Jun 2015 16:42:28 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 26 Jun 2015 07:42:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,685,1427785200"; d="scan'208";a="718187381" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga001.jf.intel.com with ESMTP; 26 Jun 2015 07:42:27 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.201]) by IRSMSX152.ger.corp.intel.com ([169.254.6.90]) with mapi id 14.03.0224.002; Fri, 26 Jun 2015 15:42:24 +0100 From: "Iremonger, Bernard" To: Tetsuya Mukawa , "dev@dpdk.org" Thread-Topic: [PATCH v6 5/5] eal: Fix uio mapping differences between linuxapp and bsdapp Thread-Index: AQHQr+jK8GyDhH6qDESU1SDGKf7Nyp2+3Jlg Date: Fri, 26 Jun 2015 14:42:24 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C204A42474@IRSMSX108.ger.corp.intel.com> References: <1435202367-8887-4-git-send-email-mukawa@igel.co.jp> <1435306705-11645-1-git-send-email-mukawa@igel.co.jp> <1435306705-11645-6-git-send-email-mukawa@igel.co.jp> In-Reply-To: <1435306705-11645-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.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v6 5/5] 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: Fri, 26 Jun 2015 14:42:29 -0000 > -----Original Message----- > From: Tetsuya Mukawa [mailto:mukawa@igel.co.jp] > Sent: Friday, June 26, 2015 9:18 AM > To: dev@dpdk.org > Cc: Iremonger, Bernard; david.marchand@6wind.com; Tetsuya.Mukawa > Subject: [PATCH v6 5/5] eal: Fix uio mapping differences between linuxapp > 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