Skip to content

Fix bugs in filter, list, config, enable areas

ramesh.thomas at intel.com accel-config 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8accel-config: Fix some indentation and coding convention errorsaccfg/config_attr.c accfg/enable.c accfg/list.c +4 more+56 -600 replies
2/8accel-config: Fix wrong return values in functionsaccfg/list.c+28 -220 replies
3/8accel-config: Rewrite filter functionsutil/filter.c util/filter.h+198 -2070 replies
4/8accel-config: Rewrite listing functionsaccfg/list.c+105 -1270 replies
5/8accel-config: Rewrite device selection using new filter functionsaccfg/config_attr.c accfg/enable.c+67 -1740 replies
6/8accel-config: Skip negative fields in listingsutil/json.c+12 -80 replies
7/8accel-config: Return error if no argsaccfg/accel-config.c+1 -10 replies
8/8accel-config: Do not return error if help was specifically calledutil/parse-options.c+3 -30 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 v1 0/8] Fix bugs in filter, list, config, enable areas

From: Ramesh Thomas <ramesh.thomas(a)intel.com>

These patches fixes many of the bugs that were seen due to the addition of iax. While fixing the reqported issues found that the existing code was using assumptions that are obsolete. Many parts of the filter, list, config and enable/disable areas have been rewritten considering latest design changes. This simplifies the implementation and would make future maintenance easier.

Ramesh Thomas (8):
accel-config: Fix some indentation and coding convention errors
accel-config: Fix wrong return values in functions
accel-config: Rewrite filter functions
accel-config: Rewrite listing functions
accel-config: Rewrite device selection using new filter functions
accel-config: Skip negative fields in listings
accel-config: Return error if no args
accel-config: Do not return error if help was specifically called

 accfg/accel-config.c |   2 +-
 accfg/config_attr.c  | 154 +++++-------------
 accfg/enable.c       | 106 +++++-------
 accfg/list.c         | 278 +++++++++++++++----------------
 util/filter.c        | 379 +++++++++++++++++++++----------------------
 util/filter.h        |  42 ++---
 util/json.c          |  36 ++--
 util/json.h          |   1 -
 util/parse-options.c |   6 +-
 9 files changed, 436 insertions(+), 568 deletions(-)
Signature · 1 line
2.26.3