From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v13 6/7] pci: use bus driver for attach/detach Date: Fri, 14 Apr 2017 10:43:30 +0200 Message-ID: <39268418.7IM1mryW88@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Gaetan Rivet , Shreyansh Jain , Jan Blunck Return-path: Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) by dpdk.org (Postfix) with ESMTP id ACAAF316B for ; Fri, 14 Apr 2017 10:43:32 +0200 (CEST) Received: by mail-wr0-f172.google.com with SMTP id c55so47887781wrc.3 for ; Fri, 14 Apr 2017 01:43:32 -0700 (PDT) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-04-11 13:07, Gaetan Rivet: > + if (ret > 0) { > + /* In case the device was not found on any bus, search VDEV */ > + ret = rte_eal_vdev_init(name, devargs); I think we should avoid to directly call a vdev function. Anyway, Jan is preparing a new series for attach/detach rework. Let's discuss it for 17.08. The series will be applied without this patch.