From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <arybchenko@solarflare.com>
Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com
 [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 222112B83;
 Tue, 13 Nov 2018 12:20:21 +0100 (CET)
X-Virus-Scanned: Proofpoint Essentials engine
Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1-us4.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id
 1579B14008E; Tue, 13 Nov 2018 11:20:15 +0000 (UTC)
Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com
 (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 13 Nov
 2018 11:20:02 +0000
To: Ferruh Yigit <ferruh.yigit@intel.com>, Thomas Monjalon
 <thomas@monjalon.net>
CC: <dev@dpdk.org>, Wenzhuo Lu <wenzhuo.lu@intel.com>, <stable@dpdk.org>
References: <1541642954-37497-1-git-send-email-wenzhuo.lu@intel.com>
 <20181113111238.80107-1-ferruh.yigit@intel.com>
 <20181113111238.80107-2-ferruh.yigit@intel.com>
From: Andrew Rybchenko <arybchenko@solarflare.com>
Message-ID: <ae85a1ba-3fd7-d8c9-05d9-4f5f81c02719@solarflare.com>
Date: Tue, 13 Nov 2018 14:19:59 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <20181113111238.80107-2-ferruh.yigit@intel.com>
Content-Language: en-GB
X-Originating-IP: [91.220.146.112]
X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To
 ukex01.SolarFlarecom.com (10.17.10.4)
X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24218.003
X-TM-AS-Result: No-4.016900-8.000000-10
X-TMASE-MatchedRID: 9zTThWtzImsOwH4pD14DsPHkpkyUphL9Ct59Uh3p/NWtj24Xqh0yXJmE
 a0nYf62kPEoGb8keCDrM/15V7ZfCwzblc6Gei4nlIj0zFI5DoJJeCrB32KOS0KMLUT/MIQivCvE
 68u8U9k8R4d+Uvhl0qv1VprTjLOsRsKrmNJBIHWedOp1TjDrlaRwMMtF4a3g9+ZQPGkWiBBejxY
 yRBa/qJQPTK4qtAgwIlnP9MMAZcdrQLWxBF9DMQZvjAepGmdoOxZ9oyuen3syFv6jgQtJInVjjv
 3gRrRnX+9/wfZay1umQn3TJ/p9H0FuCxrSKmCJ10sFcwxrLmIJba3i9RgQvwgafznjOIch4mxgK
 3WwYxnziNlr3OP8bvbUup3n/qGRjv6jWEi9lFX44beFKgtqEaIwvUS2YIPkFDjeY7cr1kXGmlvG
 1xoJ61FN2VASOal+r
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
X-TMASE-Result: 10--4.016900-8.000000
X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24218.003
X-MDID: 1542108015-WzgcZAfzGfdh
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] [PATCH v4 2/3] ethdev: fix device info getting
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2018 11:20:21 -0000

On 11/13/18 2:12 PM, Ferruh Yigit wrote:
> From: Wenzhuo Lu <wenzhuo.lu@intel.com>
>
> The device information cannot be gotten correctly before
> the configuration is set. Because on some NICs the
> information has dependence on the configuration.
>
> Fixes: 3be82f5cc5e3 ("ethdev: support PMD-tuned Tx/Rx parameters")
> Cc: stable@dpdk.org
>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>

Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>