eal: simplify devargs and hotplug functions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest5 patches 2 repliesIn review
- v55 patches 8 repliesSuperseded
- v44 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 4 patches | 10 replies | Superseded | |
| v2 | 4 patches | 2 replies | Superseded |
Changes in v5 from the cover letter
- rte_devargs_remove is fixed in case of null devargs (patch 2)
- a pointer to the bus is added in rte_device (patch 3)
- rte_dev_remove is fixed in case of no devargs (patch 5)
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | devargs: remove deprecated functionsdoc/ lib/ lib/ +1 more | +5 | 0 replies | |
| 2/5 | devargs: simplify parameters of removal functiondoc/ drivers/ drivers/ +3 more | +18 | 0 replies | |
| 3/5 | eal: add bus pointer in device structuredoc/ drivers/ drivers/ +20 more | +44 | 0 replies | |
| 4/5 | eal: remove experimental flag of hotplug functionslib/ lib/ lib/ | +8 | 0 replies | |
| 5/5 | eal: simplify parameters of hotplug functionsdrivers/ drivers/ lib/ +2 more | +84 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrew Rybchenko | Gaetan Rivet | Stephen Hemminger |
|---|---|---|---|
| Series | R-b | ||
| 1/5 | R-b | A-b | |
| 2/5 | R-b | A-b | |
| 3/5 | A-b | ||
| 4/5 | R-b | A-b | |
| 5/5 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v6 0/5] eal: simplify devargs and hotplug functions
This is a follow-up of an idea presented at Dublin during the "hotplug talk".
Instead of changing the existing hotplug functions, as in the RFC, some new experimental functions are added.
The old functions lose their experimental status in order to provide a non-experimental replacement for deprecated attach/detach functions.
It has been discussed briefly in the latest technical board meeting.
Changes in v6 - after Gaetan's review:
- bump ABI version of all buses (because of rte_device change)
- unroll snprintf loop in rte_eal_hotplug_add
Changes in v5:
- rte_devargs_remove is fixed in case of null devargs (patch 2)
- a pointer to the bus is added in rte_device (patch 3)
- rte_dev_remove is fixed in case of no devargs (patch 5)
Changes in v4 - after Andrew's review:
- add API changes in release notes (patches 1 & 2)
- fix memory leak in rte_eal_hotplug_add (patch 4)
Change in v3:
- fix null dereferencing in error path (patch 2)
Thomas Monjalon (5):
devargs: remove deprecated functions
devargs: simplify parameters of removal function
eal: add bus pointer in device structure
eal: remove experimental flag of hotplug functions
eal: simplify parameters of hotplug functions
doc/guides/rel_notes/release_18_11.rst | 23 ++++-- drivers/bus/dpaa/Makefile | 2 +- drivers/bus/dpaa/dpaa_bus.c | 2 + drivers/bus/dpaa/meson.build | 2 + drivers/bus/fslmc/Makefile | 2 +- drivers/bus/fslmc/fslmc_bus.c | 2 + drivers/bus/fslmc/meson.build | 2 + drivers/bus/ifpga/Makefile | 2 +- drivers/bus/ifpga/ifpga_bus.c | 6 +- drivers/bus/ifpga/meson.build | 2 + drivers/bus/pci/Makefile | 2 +- drivers/bus/pci/bsd/pci.c | 2 + drivers/bus/pci/linux/pci.c | 1 + drivers/bus/pci/meson.build | 2 + drivers/bus/pci/private.h | 2 + drivers/bus/vdev/Makefile | 2 +- drivers/bus/vdev/meson.build | 2 + drivers/bus/vdev/vdev.c | 9 +-- drivers/bus/vmbus/Makefile | 2 +- drivers/bus/vmbus/linux/vmbus_bus.c | 1 + drivers/bus/vmbus/meson.build | 2 + drivers/bus/vmbus/private.h | 3 + drivers/net/failsafe/failsafe_eal.c | 3 +- drivers/net/failsafe/failsafe_ether.c | 3 +- lib/librte_eal/common/eal_common_dev.c | 90 +++++++++++++-------- lib/librte_eal/common/eal_common_devargs.c | 41 ++-------- lib/librte_eal/common/include/rte_dev.h | 36 +++++++-- lib/librte_eal/common/include/rte_devargs.h | 81 +------------------ lib/librte_eal/rte_eal_version.map | 10 +-- 29 files changed, 155 insertions(+), 184 deletions(-)
Signature · 1 line
2.19.0