+27
−14
Loading
uint16_t should be enough for most common use cases. Max size of a single op which can be handled is limited by num_blocks, so that is 512B*65535~32MiB Add asserts to catch uint16 overflow Reduce size of counters in accel_mlx5_qp as well Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I1d31f0d536bb15887d8d5b4365dcd79dd7f80ac6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23122 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <ben@nvidia.com>