From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id EFE877CEF for ; Wed, 24 May 2017 17:18:41 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id m7so23992007wmg.0 for ; Wed, 24 May 2017 08:18:41 -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=xJVYJuxQqufWnyuhzd9NnQK8lkauOft4nm6jK599owM=; b=GFFNxwKY5KS8XO8bEgzn5DMcVdSN+/1ptwjGngbQsaHg9ysn+GXoE5f18COiBIZ9KL AsukYEO2veXwI6y+WtZF9kwmo5dY6y2iNIqBmEWYLuo2DEdD05G6i7eCTf4idvYnqhvN Rwcpmm5JPkgcRDpNKo1vhCOfiDfLvT4opglmtYLQzGQa/sGyuwJa4c8eq0OeBk2mPpBo GG05Qi+H7iHt9Xoi2pmZFe53Xme2ou7bpD85Cgsh2g25ScispZ8tDUZiUdechmgWVILt vJUntcFie7RYbj2TqGVLMwQs53S72zU4DR2MBFoIwbiJ3DHSV9t42svRA0TkZMO6Qi0E J/+Q== 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=xJVYJuxQqufWnyuhzd9NnQK8lkauOft4nm6jK599owM=; b=hCoEiLuAco7dC4LXIMdTOvpsh1PJYIrfxTBc5L3sy8dj4CAXb6iDwU3STtQrP71f+O HwJnx3yirpkALD0FGwQSu9CqYHDQNyE/kZvPkOoYwLDg0L1ioXGU1UfBFfexNjriWduT JM3kYziBwCfdwEV3jL9QbFUPOqLhpRqRcYMk87btC27OetTk+Tz5Mn37hVqSqhDg3XKW BkV0VQ4K/QBr4E34rIJxnDdOH7mUFZK1uTZ7cFjY7+7fOCDCXLNL5+7fGIHiMCrs/r89 qpt367EVeRHpJWAHTS24Wj/lhWRF5nqSBIoFqvC+NgWLicwUEXZ2ibjez2VfXFa3rhbe o4bw== X-Gm-Message-State: AODbwcBBceWma5uSqo0cc4OrLPhj4CtgwWikeIqy1ldQQoiZtqfR1uCj +wovNqkegnwDhcUYTaQ= X-Received: by 10.28.54.165 with SMTP id y37mr6651024wmh.29.1495639121454; Wed, 24 May 2017 08:18:41 -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 p107sm5880800wrb.64.2017.05.24.08.18.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 May 2017 08:18:40 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet , Jan Blunck , Stephen Hemminger , Maxime Coquelin , Jerin Jacob , David Marchand Date: Wed, 24 May 2017 17:18:28 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 0/3] eal: complete attach / detach support 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: Wed, 24 May 2017 15:18:42 -0000 Implements attach / detach for the PCI bus, and a streamlined attach for the virtual bus. This is necessary to remove the final dependencies of the EAL on the virtual and PCI buses, due to the rte_eal_dev_attach and rte_eal_dev_detach functions. This patchset depends on: pci: implement find_device bus operation http://dpdk.org/ml/archives/dev/2017-May/066340.html http://dpdk.org/dev/patchwork/patch/24498/ [PATCH 00/14] Generic devargs parsing http://dpdk.org/ml/archives/dev/2017-May/066351.html http://dpdk.org/dev/patchwork/patch/24508/ Gaetan Rivet (3): pci: implement attach/detach bus operation vdev: implement attach bus operation vdev: use standard bus registration function lib/librte_eal/common/eal_common_dev.c | 53 +++++++++++++++++++-------------- lib/librte_eal/common/eal_common_pci.c | 50 +++++++++++++++++++++++++++++++ lib/librte_eal/common/eal_common_vdev.c | 26 +++++----------- 3 files changed, 88 insertions(+), 41 deletions(-) -- 2.1.4