[Accel-config] Re: [PATCH 0/6] Add support for wq driver_name attribute
Dave Jiang <dave.jiang at intel.com> Tue, 01 Feb 2022 10:19:15 -0700
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
On 1/31/2022 7:53 PM, Ramesh Thomas wrote: > 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(+) Reviewed-by: Dave Jiang <dave.jiang(a)intel.com> for the series.