Skip to content

Update API to get 256 bits op_cap

ramesh.thomas at intel.com 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: Remove duplicated functionaccfg/list.c util/json.c util/json.h+1 -240 replies
2/6accel-config: Fix an inconsistent error return valueaccfg/lib/libaccfg.c util/json.c+6 -100 replies
3/6accel-config: Free some allocated memory that were not being freedaccfg/lib/libaccfg.c+11 -10 replies
4/6accel-config: Remove existing op_cap API to be replaced with new oneaccfg/lib/libaccel-config.sym accfg/lib/libaccfg.c accfg/libaccel_config.h +1 more+0 -180 replies
5/6accel-config: Add new API to support 256 bits op_capaccfg/lib/libaccel-config.sym accfg/lib/libaccfg.c accfg/libaccel_config.h+40 -00 replies
6/6accel-config: Call new op_cap API in json implementationutil/json.c+14 -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 v1 0/6] Update API to get 256 bits op_cap

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

Remove existing API that assumes op_cap is 64 bits. New API returns 256 bits.

Update json implementation to use the new API and print 256 bits.

Fix some issues found in other areas of code during implementation.

Ramesh Thomas (6):
accel-config: Remove duplicated function
accel-config: Fix an inconsistent error return value
accel-config: Free some allocated memory that were not being freed
accel-config: Remove existing op_cap API to be replaced with new one
accel-config: Add new API to support 256 bits op_cap
accel-config: Call new op_cap API in json implementation

 accfg/lib/libaccel-config.sym |  7 +++--
 accfg/lib/libaccfg.c          | 56 ++++++++++++++++++++++++++---------
 accfg/libaccel_config.h       |  7 ++++-
 accfg/list.c                  |  2 +-
 util/json.c                   | 35 +++++++---------------
 util/json.h                   |  2 --
 6 files changed, 64 insertions(+), 45 deletions(-)
Signature · 1 line
2.26.3