Skip to content

accel-config: Add command config-user-default to configure and enable all available devices and WQs

Fenghua Yu accel-config 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7accel-config: Skip configuring ats_disable if the attribute is not presentaccfg/config.c+14 -10 replies
2/7accel-config: Add config-user-default commandaccfg/accel-config.c accfg/config.c accfg/libaccel_config.h +1 more+271 -03 replies
3/7accel-config: Add option "-c <config_file>" to load default configurations from the fileaccfg/config.c+134 -30 replies
4/7accel-config: Disable default configured WQs and devicesaccfg/config.c+60 -00 replies
5/7accel-config: Add "-n <wq_name>" to specify WQ name for disabling WQsaccfg/config.c+9 -10 replies
6/7accel-config: Add user_default_profile.confcontrib/configs/profilenote.txt contrib/configs/user_default_profile.conf+70 -00 replies
7/7accel-config: Add doumentation for new command "config-user-default"Documentation/accfg/Makefile.am Documentation/accfg/accel-config-config-user-default.txt+79 -20 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchRamesh Thomas
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Accel-config] [PATCH 0/7] accel-config: Add command config-user-default to configure and enable all available devices and WQs

Although current accel-config can configure and enable IDXD devices, user needs to know a lot of IDXD knowledges and information to do so. Sometimes user wants an easier way to configure and enable IDXD devices without sophisticated IDXD knowledges and information.

This patch set adds "config-user-default" to configure and enable all available devices and WQs with default configurations.

Fenghua Yu (7):
accel-config: Skip configuring ats_disable if the attribute is not
present
accel-config: Add config-user-default command
accel-config: Add option "-c <config_file>" to load default
configurations from the file
accel-config: Disable default configured WQs and devices
accel-config: Add "-n <wq_name>" to specify WQ name for disabling WQs
accel-config: Add user_default_profile.conf
accel-config: Add doumentation for new command "config-user-default"

 Documentation/accfg/Makefile.am               |   6 +-
 .../accel-config-config-user-default.txt      |  75 +++
 accfg/accel-config.c                          |   1 +
 accfg/config.c                                | 482 +++++++++++++++++-
 accfg/libaccel_config.h                       |   1 +
 builtin.h                                     |   1 +
 contrib/configs/profilenote.txt               |  28 +
 contrib/configs/user_default_profile.conf     |  42 ++
 8 files changed, 633 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/accfg/accel-config-config-user-default.txt
 create mode 100644 contrib/configs/user_default_profile.conf
Signature · 1 line
2.31.1