From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C34B4FF4; Mon, 8 May 2017 11:47:24 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP; 08 May 2017 02:47:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,309,1491289200"; d="scan'208";a="99033133" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.42]) by fmsmga006.fm.intel.com with SMTP; 08 May 2017 02:47:21 -0700 Received: by (sSMTP sendmail emulation); Mon, 08 May 2017 10:47:21 +0100 Date: Mon, 8 May 2017 10:47:20 +0100 From: Bruce Richardson To: Tiwei Bie Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20170508094720.GB34348@bricha3-MOBL3.ger.corp.intel.com> References: <20170507133334.16219-1-tiwei.bie@intel.com> <20170507133334.16219-3-tiwei.bie@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170507133334.16219-3-tiwei.bie@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.0 (2017-02-23) Subject: Re: [dpdk-stable] [PATCH 2/2] eal/bsd: fix the read operation on PCI configuration space X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2017 09:47:25 -0000 On Sun, May 07, 2017 at 01:33:34PM +0000, Tiwei Bie wrote: > Some drivers (such as virtio) may need to read more than 4 bytes > data from PCI configuration space via rte_eal_pci_read_config(). > But it will return with an error on FreeBSD when the expected > data length is bigger than the size of pi.pi_data whose type is > u_int32_t. This patch removes this limitation. > > Fixes: 632b2d1deeed ("eal: provide functions to access PCI config") > Cc: stable@dpdk.org > > Signed-off-by: Tiwei Bie > --- Acked-by: Bruce Richardson