[Accel-config] [PATCH 0/6] Add support for wq driver_name attribute
Ramesh Thomas <ramesh.thomas at intel.com> Mon, 31 Jan 2022 18:53:13 -0800
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
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(+) -- 2.31.1