From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by dpdk.org (Postfix) with ESMTP id 5722A3250 for ; Sun, 9 Jul 2017 03:45:59 +0200 (CEST) Received: by mail-wr0-f179.google.com with SMTP id 77so93678496wrb.1 for ; Sat, 08 Jul 2017 18:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=ZbvhodHCvnhCg1K2QEcSwfXbLasgWl1QlqR3qIOLHRM=; b=KNZpTT84NR77msH1WHStT4e3f8xgVo3MJFsKC7yqXizGbEUY/Q7uU77ucrLtYVV7x+ Vw9+/IH512frElXNz3lCuQj6dCUOVshMAN+FuCCs8la9b9EIYFAkZ0IsdpzzZcqK4mZq 4DoJOq1rR52z8k45Agya9GYfsv2iiWYyQQaQOouHjk3lfEdEgqdVdrxR42rADZWpdAZl MXuxT73e8EjVMlzbxv3dlsTOpnfAMN9JN5cc9Hw8GyHxq2i9rJxQ/eINJz+UdqOzAcL7 6Q52k3PsDtTwotvtEfcZXgdUEvk9ObpWtjVk5rFnHcTMUY5ZqhecHrhBCloCc6qW+EE6 aMcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZbvhodHCvnhCg1K2QEcSwfXbLasgWl1QlqR3qIOLHRM=; b=Rg6SHQT1EC/j6ZZIHet95rHWiLqbESiYMjWqDNpCL62t0ofui8FUt/a9Ss2Nko2jIO XwIFjk6kQmaOJ6yg4cQYBtQicXs8QIECcd2iHfqQHIWp7UZribfa+rQx4mq5KtsMwe7U 2QPqgm4i12c9n82mdK9Whv9Vl1VtEb5zYHTwAD8pq2B37sS3Qr8qf42UG3doHtZRO8zk Hy5hQx4MAtdVj9ke8gCqlZQUYcwUZji11BwFwXA4+WdQ+NTEy8uFVYgNJ9HAnaFOkjLa TILNU0nHIOSR+pU2bK6PGJfG+ICmnfHt6H319UI3lk6OU95hW3O/W9JYZ7tLcYtegfOl PKdA== X-Gm-Message-State: AIVw112XI5Rdsla9tgcffT6/ALbLtKw71IDilQkSORRA5K6Ou5Tfc7/F AcQx4tAP5x3jO+fGT38= X-Received: by 10.223.135.68 with SMTP id 4mr4464033wrz.141.1499564758781; Sat, 08 Jul 2017 18:45:58 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id h130sm2430609wmd.34.2017.07.08.18.45.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 08 Jul 2017 18:45:57 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet , Jan Blunck , Shreyansh Jain , Stephen Hemminger , Bruce Richardson Date: Sun, 9 Jul 2017 03:45:36 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 0/9] fix hotplug API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 01:45:59 -0000 Sending those fixes as separate patches as they stand on their own. This series improves usability of the hotplug API and fixes a few issues with existing implementations. The hotplug API can be tested with the fail-safe PMD[1]. Its documentation describes how to declare slaves and how to use it. [1]: http://dpdk.org/ml/archives/dev/2017-July/070529.html Gaetan Rivet (9): eal: return device handle upon plugin eal: fix hotplug add devargs: introduce removal function eal: release devargs on device removal pci: use given name as generic name pci: fix generic driver pointer on probe error pci: fix hotplug operations vdev: implement plug operation bus: remove useless plug parameter lib/librte_eal/bsdapp/eal/eal_pci.c | 4 +- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_dev.c | 83 +++++++++++++++++++++---- lib/librte_eal/common/eal_common_devargs.c | 18 ++++++ lib/librte_eal/common/eal_common_pci.c | 49 +++++++-------- lib/librte_eal/common/eal_common_vdev.c | 12 ++-- lib/librte_eal/common/eal_private.h | 5 ++ lib/librte_eal/common/include/rte_bus.h | 6 +- lib/librte_eal/common/include/rte_dev.h | 10 +-- lib/librte_eal/common/include/rte_devargs.h | 18 ++++++ lib/librte_eal/common/include/rte_vdev.h | 7 +++ lib/librte_eal/linuxapp/eal/eal_pci.c | 4 +- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + 13 files changed, 162 insertions(+), 56 deletions(-) -- 2.1.4