Skip to content

eal: complete attach / detach support

Gaetan Rivet dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Fix a few bugs in rte_dev_attach / detach.
* Follow new plug / unplug API.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pci: implement hotplug bus operationlib/librte_eal/common/eal_common_pci.c+67 -00 replies
2/3dev: remove vdev function dependencylib/librte_eal/common/eal_common_dev.c+30 -201 reply
3/3vdev: use standard bus registration functionlib/librte_eal/common/eal_common_vdev.c+1 -171 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] eal: complete attach / detach support

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/

v1 -> v2:

* Rebase the series on the plug / unplug API.
* removed the vdev_plug implementation as it is now done in the plug/unplug introduction.

v2 -> v3:

* Fix a few bugs in rte_dev_attach / detach.
* Follow new plug / unplug API.

Gaetan Rivet (3):
pci: implement hotplug bus operation
dev: remove vdev function dependency
vdev: use standard bus registration function

 lib/librte_eal/common/eal_common_dev.c  | 50 ++++++++++++++----------
 lib/librte_eal/common/eal_common_pci.c  | 67 +++++++++++++++++++++++++++++++++
 lib/librte_eal/common/eal_common_vdev.c | 18 +--------
 3 files changed, 98 insertions(+), 37 deletions(-)
Signature · 1 line
2.1.4