rte_bus + rte_pci_bus
Get series with b4
b4 am [email protected]Versions newest first
- v11 Latest13 patches 11 repliesIn review
Changes in v11 from the cover letter
- fixes for BSD
- remove useless bus object retrieving
- remove useless bus reference in rte_device
- some rewording and patch reordering
Patches in v11 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | bus: introduce bus abstractionlib/ lib/ lib/ +4 more | +225 | 0 replies | |
| 2/13 | bus: add scanninglib/ lib/ lib/ +3 more | +53 | 0 replies | |
| 3/13 | bus: add probinglib/ lib/ lib/ +3 more | +53 | 0 replies | |
| 4/13 | app/test: check bus registrationMAINTAINERS app/ app/ +5 more | +369 | 0 replies | |
| 5/13 | app/test: check bus scanapp/ | +174 | 0 replies | |
| 6/13 | app/test: check bus probeapp/ | +149 | 0 replies | |
| 7/13 | pci: split match and probelib/ lib/ lib/ +1 more | +121 | 4 replies | |
| 8/13 | pci: remove loop over drivers in device detachlib/ | +9 | 0 replies | |
| 9/13 | pci: add bus driverlib/ lib/ lib/ +2 more | +114 | 2 replies | |
| 10/13 | app/test: add PCI bus driverapp/ | +114 | 0 replies | |
| 11/13 | pci: use bus driver for scan/probelib/ lib/ lib/ +6 more | +41 | 0 replies | |
| 12/13 | pci: use bus driver for attach/detachlib/ lib/ lib/ +3 more | +193 | 4 replies | |
| 13/13 | doc: remove deprecation notice for rte_busdoc/ doc/ lib/ +1 more | +3 | 1 reply |
Reviews trailers per patch
10 of 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ferruh Yigit | John McNamara | Gaetan Rivet | Stephen Hemminger |
|---|---|---|---|---|
| Series | R-b R-b R-b R-b R-b R-b R-b | R-b R-b R-b R-b R-b R-b | A-b | |
| 1/13 | R-b | |||
| 2/13 | R-b | |||
| 3/13 | R-b | |||
| 4/13 | R-b | |||
| 5/13 | ||||
| 6/13 | ||||
| 7/13 | R-b | |||
| 8/13 | ||||
| 9/13 | R-b | |||
| 10/13 | R-b | |||
| 11/13 | R-b | |||
| 12/13 | R-b | |||
| 13/13 | 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 4 reviewers.
Cover letter [PATCH v11 00/13] rte_bus + rte_pci_bus
I've continued the work done by Shreyansh for bus abstraction and PCI implementation.
This change has two benefits:
- ease future introduction of new bus
- clean existing buses (only PCI here)
The same kind of work must be done on VDEV in order to move these implementations as bus drivers.
changes in v11:
- fixes for BSD
- remove useless bus object retrieving
- remove useless bus reference in rte_device
- some rewording and patch reordering
Unfortunately, it is not ready to be integrated in 17.02. More specifically:
- the tests need some review/rework
- the PCI implementation requires more work
- the documentation must be updated
However there are some new buses waiting for the bus abstraction, which is simple and good enough.
That's why I have isolated the generic bus model in first patches and will apply them in 17.02-rc1. It will allow to base new buses on top of rte_bus.
Shreyansh Jain (13):
bus: introduce bus abstraction
bus: add scanning
bus: add probing
app/test: check bus registration
app/test: check bus scan
app/test: check bus probe
pci: split match and probe
pci: remove loop over drivers in device detach
pci: add bus driver
app/test: add PCI bus driver
pci: use bus driver for scan/probe
pci: use bus driver for attach/detach
doc: remove deprecation notice for rte_bus
MAINTAINERS | 1 + app/test/Makefile | 2 +- app/test/autotest_data.py | 6 + app/test/test.h | 1 + app/test/test_bus.c | 678 ++++++++++++++++++++++++ app/test/test_pci.c | 164 ++++-- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_notes/release_17_02.rst | 2 +- lib/librte_eal/bsdapp/eal/Makefile | 3 +- lib/librte_eal/bsdapp/eal/eal.c | 13 +- lib/librte_eal/bsdapp/eal/eal_pci.c | 43 +- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 15 +- lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/eal_common_bus.c | 133 +++++ lib/librte_eal/common/eal_common_dev.c | 56 +- lib/librte_eal/common/eal_common_pci.c | 350 +++++++----- lib/librte_eal/common/eal_private.h | 10 - lib/librte_eal/common/include/rte_bus.h | 192 +++++++ lib/librte_eal/common/include/rte_pci.h | 142 ++++- lib/librte_eal/linuxapp/eal/Makefile | 3 +- lib/librte_eal/linuxapp/eal/eal.c | 13 +- lib/librte_eal/linuxapp/eal/eal_pci.c | 50 +- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 15 +- 23 files changed, 1600 insertions(+), 299 deletions(-) create mode 100644 app/test/test_bus.c create mode 100644 lib/librte_eal/common/eal_common_bus.c create mode 100644 lib/librte_eal/common/include/rte_bus.h
Signature · 1 line
2.7.0