Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 0 repliesNew
- v44 patches 4 repliesSuperseded
- v34 patches 6 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- Bump library version of Eventdev (Jerin)
- http://dpdk.org/ml/archives/dev/2017-September/075551.html
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | eventdev: add port attribute functionlib/ lib/ lib/ +1 more | +61 | 0 replies | |
| 2/5 | eventdev: add dev attribute get functionlib/ lib/ lib/ +2 more | +241 | 0 replies | |
| 3/5 | eventdev: add queue attribute functionlib/ lib/ lib/ +1 more | +49 | 0 replies | |
| 4/5 | eventdev: add device started attributelib/ lib/ | +7 | 0 replies | |
| 5/5 | eventdev: bump library versiondoc/ lib/ | +2 | 0 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Jerin Jacob |
|---|---|
| 1/5 | |
| 2/5 | A-b |
| 3/5 | |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/5]
This patchset refactors the eventdev API to be more flexible and capable. In particular, the API is capable of returning an error value if an invalid device, port or attribute ID is passed in, which was not possible with the previous APIs.
The implementation of this patchset is based on a v1 patch[1], and after some discussion this API was seen as the best solution.
In terms of flexibility, the attribute id allows addition of new common eventdev layer attributes without breaking ABI or adding new functions. Note that these attributes are not data-path, and that PMDs should continue to use the xstats API for reporting any unique PMD statistics that are available.
Regarding API/ABI compatibility, I have removed the functions from the .map files - please review the .map file changes for ABI issues carefully.
The last patch of this series adds a started attribute to the device, allowing the application to query if a device is currently running.
-Harry
[1] http://dpdk.org/dev/patchwork/patch/27152/
---
v5:
- Bump library version of Eventdev (Jerin)
- http://dpdk.org/ml/archives/dev/2017-September/075551.html
v4:
- Rework based on review by Jerin
- default: cases into switches
- Remove old functions from .map file
- Remove /* out */ parameters
- Rework header file definitions to match logical order
- Rework patch split
- Cleaner removal of queue_count() function
v3:
- Fix checkpatch issues... somehow I broke my checkpatch script :/
v2:
- New APIs design based on discussion of initial patch.
Harry van Haaren (5):
eventdev: add port attribute function
eventdev: add dev attribute get function
eventdev: add queue attribute function
eventdev: add device started attribute
eventdev: bump library version
doc/guides/rel_notes/release_17_11.rst | 2 +- lib/librte_eventdev/Makefile | 2 +- lib/librte_eventdev/rte_eventdev.c | 97 ++++++++++++------ lib/librte_eventdev/rte_eventdev.h | 115 +++++++++++---------- lib/librte_eventdev/rte_eventdev_version.map | 14 ++- test/test/test_eventdev.c | 132 +++++++++++++++++++------ test/test/test_eventdev_octeontx.c | 143 ++++++++++++++++++++------- 7 files changed, 347 insertions(+), 158 deletions(-)
Signature · 1 line
2.7.4