From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 0898DA04C1;
	Wed, 20 Nov 2019 18:22:45 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 25F622B8E;
	Wed, 20 Nov 2019 18:22:39 +0100 (CET)
Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com
 [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 052FC2B8E
 for <dev@dpdk.org>; Wed, 20 Nov 2019 18:22:37 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1574270557;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=8mrteVyu/aEYCO0w42A3vVLzA1bMjqoMDv4hs9E+hoI=;
 b=L+4NbBR92gUN6vXZ8AljxmVfSzvxVVJChIFg3qGyQlbB4BFDtygMIMqgXzMTy4wZXaVvRT
 YFKGl/4u+7XXEMhNaQBhgG7hX9tn5ypGwj/F261Dxc9dc5XfWU/JLqwfH+eJVcoOmJq3dY
 fF8cOueLgl95AmKkTvjz7KXQKtIg3NI=
Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com
 [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id
 us-mta-151-ZuMXWGnoPfic9JEZxCdqMw-1; Wed, 20 Nov 2019 12:22:34 -0500
Received: by mail-vk1-f198.google.com with SMTP id g142so110578vkg.7
 for <dev@dpdk.org>; Wed, 20 Nov 2019 09:22:34 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=206HcObGLWun43WrPLKHDy/qApMVV9gRDJai85zvDns=;
 b=C1KrtiSjhlkdi7j9Ld8AJynjBAm3tVuB8n3/PtNTHfdnZxvULir1jvhmywxH0rtgxR
 cSSzNToqPnUh2jSdPjniwB8YPsZobtvoUkbEVvg4ETcrji9uBVxKN3hO/9uzWuYoQa2F
 aAb5zpYSCvZgceFxAedb2YuCH6JtelBFItcSQVrS4SHk9Jj0G/CYm4czkOHo5MaSrcWz
 Nc/zLVFgW6z/JbE09IKy0JzlFOpiFcHXXJSNKc+32JLAb47v6TqNkTzLeNk7kuaIywRd
 XyorbvpnKmXIDtA1NyDSmj41T3N9v/QGCxUNgowOSz6/dSU73qQDlK58JX8iKWbNuUxP
 X3qA==
X-Gm-Message-State: APjAAAWavjHWx+QC1sb2aCsFi+Vtr5QwA2HCh4AgTOBpsjjsBYpa9Vod
 p5rWA+niV0F52WIktuDZB6aUdxO3giSDqwq0/gPemK9UAJKAmhjEfsbWvAN0XIJoacBIqQ58dUg
 HhDTS1RsrxIh6D5Bawxo=
X-Received: by 2002:a67:cfcc:: with SMTP id h12mr2615855vsm.198.1574270553833; 
 Wed, 20 Nov 2019 09:22:33 -0800 (PST)
X-Google-Smtp-Source: APXvYqwsfw5l6EFcDJnLsKDfUFqGrOSemOzy7s/IaSPICrO8qq/ecmMbCuftnYHg5wOjjm3DHG20fuQclYZQSrfvysI=
X-Received: by 2002:a67:cfcc:: with SMTP id h12mr2615824vsm.198.1574270553419; 
 Wed, 20 Nov 2019 09:22:33 -0800 (PST)
MIME-Version: 1.0
References: <1573548459-6931-1-git-send-email-matan@mellanox.com>
 <1574243271-27734-1-git-send-email-matan@mellanox.com>
 <CAJFAV8wL=zv7kV+86jdzYT+c340iZAwFcPs1RJvrVoZ66FTFjg@mail.gmail.com>
 <2607286.WWoMLU17V0@xps>
In-Reply-To: <2607286.WWoMLU17V0@xps>
From: David Marchand <david.marchand@redhat.com>
Date: Wed, 20 Nov 2019 18:22:22 +0100
Message-ID: <CAJFAV8zqGT_vZto4KYS8=cgBYaBXGV75EmLS7ywt9a2h_6sy7Q@mail.gmail.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: dpdk stable <stable@dpdk.org>, Matan Azrad <matan@mellanox.com>,
 dev <dev@dpdk.org>
X-MC-Unique: ZuMXWGnoPfic9JEZxCdqMw-1
X-Mimecast-Spam-Score: 0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] bus/pci: fix driver detach
	clear
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>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Wed, Nov 20, 2019 at 2:54 PM Thomas Monjalon <thomas@monjalon.net> wrote=
:
> But about this patch 1, it is resetting rte_device.driver,
> which is used by the function rte_dev_is_probed().
> It says rte_device has no rte_driver attached anymore.
> This patch is the same idea as
> 391797f04208 ("drivers/bus: move driver assignment to end of probing")
> So I consider this is a real fix.

But the device should not be used after a rte_dev_remove().
This is more a documentation patch than a fix.

The commitlog must be rewritten to reflect this.


--=20
David Marchand