Skip to content

Add support for wq driver_name attribute

Ramesh Thomas accel-config 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6accel-config: Add driver_name attribute to wq contextaccfg/lib/libaccel-config.sym accfg/lib/libaccfg.c accfg/lib/private.h +1 more+35 -00 replies
2/6accel-config: Add driver_name option to config_wq commandaccfg/config_attr.c accfg/libaccel_config.h+15 -00 replies
3/6accel-config: Add driver_name to json configuration dataaccfg/config.c util/json.c+7 -00 replies
4/6accel-config: Update copy of idxd.h with kernel changesaccfg/idxd.h+3 -00 replies
5/6accel-config: Use driver_name attr for bindingaccfg/lib/libaccfg.c+6 -00 replies
6/6accel-config: Update config-wq documentation with driver_name optionDocumentation/accfg/accel-config-config-wq.txt+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Accel-config] [PATCH 0/6] Add support for wq driver_name attribute

A new attribute called "driver_name" is added to wqs which can be configured by user with the driver name to bind. Add support in accel-config to update, validate and use this attribute. It can be updated using config-wq command or using a configuration file.

Since older drivers would not have this attribute, to be backward compatible the code checks for the presence of the attribute. If not found it will fall through to use the predefined driver names in code.

Ramesh Thomas (6):
accel-config: Add driver_name attribute to wq context
accel-config: Add driver_name option to config_wq command
accel-config: Add driver_name to json configuration data
accel-config: Update copy of idxd.h with kernel changes
accel-config: Use driver_name attr for binding
accel-config: Update config-wq documentation with driver_name option

 .../accfg/accel-config-config-wq.txt          |  5 ++++
 accfg/config.c                                |  1 +
 accfg/config_attr.c                           | 14 +++++++++
 accfg/idxd.h                                  |  3 ++
 accfg/lib/libaccel-config.sym                 |  7 +++++
 accfg/lib/libaccfg.c                          | 30 +++++++++++++++++++
 accfg/lib/private.h                           |  1 +
 accfg/libaccel_config.h                       |  4 +++
 util/json.c                                   |  6 ++++
 9 files changed, 71 insertions(+)
Signature · 1 line
2.31.1