Skip to content

Change token attr to read buffer

Ramesh Thomas accel-config 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3accel-config: Add support for new attributes related to read buffersaccfg/config.c accfg/config_attr.c accfg/lib/libaccel-config.sym +6 more+208 -1200 replies
2/3accel-config: Add deprecated attribute and warningsaccfg/config.c accfg/libaccel_config.h+28 -130 replies
3/3accel-config: Update manpages to use "read buffer" instead of "token"Documentation/accfg/accel-config-config-device.txt Documentation/accfg/accel-config-config-group.txt Documentation/accfg/accel-config-list.txt+32 -320 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/3] Change token attr to read buffer

This change matches the driver change that changes bandwidth token sysfs attribute to read buffers. Creates new API for read buffers and deprecates existing ones for bw tokens. Generate warnings if configuration file contains token attributes. Config commands leave short option unchanged while renames long options to indicate read buffers. Internal implementation is changed to use read buffers and would fall back to bw token attributes if read buffer attribute is not found due to use of older drivers.

Ramesh Thomas (3):
accel-config: Add support for new attributes related to read buffers
accel-config: Add deprecated attribute and warnings
accel-config: Update manpages to use "read buffer" instead of "token"

 .../accfg/accel-config-config-device.txt      | 10 +--
 .../accfg/accel-config-config-group.txt       | 26 +++---
 Documentation/accfg/accel-config-list.txt     | 28 +++---
 accfg/config.c                                | 70 ++++++++++-----
 accfg/config_attr.c                           | 66 +++++++-------
 accfg/lib/libaccel-config.sym                 | 13 +++
 accfg/lib/libaccfg.c                          | 90 ++++++++++++++-----
 accfg/lib/private.h                           | 10 +--
 accfg/libaccel_config.h                       | 48 +++++++---
 accfg/list.c                                  | 12 +--
 test/libaccfg.c                               | 52 +++++------
 util/json.c                                   |  8 +-
 12 files changed, 268 insertions(+), 165 deletions(-)
Signature · 1 line
2.31.1