From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E64082C40 for ; Thu, 24 Mar 2016 17:57:49 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 24 Mar 2016 09:57:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,385,1455004800"; d="scan'208";a="918099557" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga001.jf.intel.com with ESMTP; 24 Mar 2016 09:57:48 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.239]) by IRSMSX102.ger.corp.intel.com ([169.254.2.19]) with mapi id 14.03.0248.002; Thu, 24 Mar 2016 16:57:47 +0000 From: "Mcnamara, John" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Richardson, Bruce" , "De Lara Guarch, Pablo" Thread-Topic: [dpdk-dev] [PATCH v4 2/3] ethdev: copy device configuration earlier Thread-Index: AQHRheEEfi7kRG1ZB0eWkYyPhK/Uz59o0LsA Date: Thu, 24 Mar 2016 16:57:47 +0000 Message-ID: References: <1458832675-666-1-git-send-email-pablo.de.lara.guarch@intel.com> <1458832924-1489-1-git-send-email-pablo.de.lara.guarch@intel.com> <1458832924-1489-3-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1458832924-1489-3-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTBmOTY5NjYtZTNhYy00NTk2LWFjOTMtOTZkZjZjOTEzZjgyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImlXN3BSOGJKMUJYRmwycGlcL3ZMOGhKSnJtMWpKOCtkelZCd3NHWlR5c25VPSJ9 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 v4 2/3] ethdev: copy device configuration earlier 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: Thu, 24 Mar 2016 16:57:50 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara > Sent: Thursday, March 24, 2016 3:22 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Richardson, Bruce > ; De Lara Guarch, Pablo > > Subject: [dpdk-dev] [PATCH v4 2/3] ethdev: copy device configuration > earlier >=20 > In rte_eth_dev_configure(), device configuration was copied after > requesting the device information, to check the maximum number of RX/TX > queues. Since this number may change depending on the device > configuration, the memcpy of it has to be performed before requesting the > device information. >=20 > Signed-off-by: Pablo de Lara Acked-by: John McNamara