accel-config: Add mdev support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest14 patches 1 replyIn review
- v212 patches 1 replySuperseded
- v111 patches 16 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | accel-config: Add mdev path to device contextaccfg/ accfg/ | +18 | 0 replies | |
| 2/14 | accel-config: Create mdev structures and load mdevs into device contextaccfg/ accfg/ accfg/ | +96 | 0 replies | |
| 3/14 | accel-config: Add lib functions to list mdevs and retrieve mdev propertiesaccfg/ accfg/ accfg/ | +42 | 0 replies | |
| 4/14 | accel-config: Add mdev json supportutil/ | +38 | 0 replies | |
| 5/14 | accel-config: Implement create and remove mdev library APIaccfg/ accfg/ accfg/ | +109 | 0 replies | |
| 6/14 | accel-config: Add mdev create and remove commandsaccfg/ | +122 | 0 replies | |
| 7/14 | accel-config: Improve management of test casestest/ | +40 | 0 replies | |
| 8/14 | accel-config: Unit tests for mdev supporttest/ | +157 | 0 replies | |
| 9/14 | accel-config: Add wq locked state supportaccfg/ accfg/ accfg/ +3 more | +25 | 0 replies | |
| 10/14 | accel-config: Add documentation for wq optionsDocumentation/ | +15 | 0 replies | |
| 11/14 | accel-config: Add documentation for mdev commandsDocumentation/ Documentation/ | +42 | 0 replies | |
| 12/14 | accel-config: Clear conditions blocking unit test after failuretest/ | +40 | 0 replies | |
| 13/14 | accel-config: Support new driver changes in kernel ver 5.10accfg/ | +7 | 0 replies | |
| 14/14 | accel-config: Remove unloading of driver at endtest/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Accel-config] [PATCH v3 00/14] accel-config: Add mdev support
From: Ramesh Thomas <ramesh.thomas(a)intel.com>
Implements vfio mdev support for wqs. This implementation uses wqs internally and user does not need to attach wqs. Mdevs are stored and listed in the context of devices.
Initially 2 types of mdevs, 1dwq and 1swq are supported. 1swq uses shared wq type while 1dwq uses dedicaed wq.
Implements both library and command interfaces.
Added improvements in test case management and clears up stale state after test failures.
Added support for "locked" wq state.
Added unit tests and man pages.
Added support for new kernel ver 5.10 driver changes.
Ramesh Thomas (14):
accel-config: Add mdev path to device context
accel-config: Create mdev structures and load mdevs into device
context
accel-config: Add lib functions to list mdevs and retrieve mdev
properties
accel-config: Add mdev json support
accel-config: Implement create and remove mdev library API
accel-config: Add mdev create and remove commands
accel-config: Improve management of test cases
accel-config: Unit tests for mdev support
accel-config: Add wq locked state support
accel-config: Add documentation for wq options
accel-config: Add documentation for mdev commands
accel-config: Clear conditions blocking unit test after failure
accel-config: Support new driver changes in kernel ver 5.10
accel-config: Remove unloading of driver at end
.../accfg/accel-config-config-wq.txt | 15 + .../accfg/accel-config-create-mdev.txt | 32 +- .../accfg/accel-config-remove-mdev.txt | 26 +- accfg/config.c | 5 +- accfg/enable.c | 4 +- accfg/lib/libaccel-config.sym | 11 + accfg/lib/libaccfg.c | 223 +++++++++++++- accfg/lib/private.h | 9 + accfg/libaccel_config.h | 28 +- accfg/mdev.c | 123 +++++++- test/libaccfg.c | 279 +++++++++++++++--- util/json.c | 44 ++- 12 files changed, 733 insertions(+), 66 deletions(-)
Signature · 7 lines
v2: Split documentation batch into wq-config and mdev create/remove v3: Add support for new driver changes in kernel ver 5.10 2.26.2