accel: re-enable iobuf thread caches
They were disabled before the v23.01 release, because none of the other libraries were using the new spdk_accel_append_* API. But now, they will be used in the bdev layer and bdev modules, so they need to be re-enabled. We're using the same values as we do in the bdev layer. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ibda86ca5619e4104e107048ce0965171501fdc5a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16968 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
66a352354b
commit
4832235759
@ -29,8 +29,8 @@
|
||||
|
||||
#define ALIGN_4K 0x1000
|
||||
#define MAX_TASKS_PER_CHANNEL 0x800
|
||||
#define ACCEL_SMALL_CACHE_SIZE 0
|
||||
#define ACCEL_LARGE_CACHE_SIZE 0
|
||||
#define ACCEL_SMALL_CACHE_SIZE 128
|
||||
#define ACCEL_LARGE_CACHE_SIZE 16
|
||||
/* Set MSB, so we don't return NULL pointers as buffers */
|
||||
#define ACCEL_BUFFER_BASE ((void *)(1ull << 63))
|
||||
#define ACCEL_BUFFER_OFFSET_MASK ((uintptr_t)ACCEL_BUFFER_BASE - 1)
|
||||
|
Loading…
Reference in New Issue
Block a user