It allows accel to store private data per each opcode/module without having to change externally visible structures or allocate anything when a module is registered. Since a single module can service multiple opcodes at the same time, so some of these values might be duplicated. However, there are only a handful of opcodes, so it shouldn't be a problem. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I609a6ccc2d241cb9b8273cc2c6d1933d2bc25e0e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16026 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
accel_internal.h | ||
accel_rpc.c | ||
accel_sw.c | ||
accel.c | ||
Makefile | ||
spdk_accel.map |