Commit fc308e3c authored by Shuhei Matsumoto's avatar Shuhei Matsumoto Committed by Jim Harris
Browse files

accel: Fix comments for spdk_accel_*_dif_verify_copy()



destination and source were opposite.

Signed-off-by: default avatarShuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: Ia54e08d9c78f60ec4e02a079a8203374ad695eb6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25086


Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: default avatarJim Harris <jim.harris@nvidia.com>
parent e43b3b91
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -482,10 +482,10 @@ int spdk_accel_submit_dif_verify(struct spdk_io_channel *ch,
 *
 * \param ch I/O channel associated with this call.
 * \param dst_iovs The destination I/O vector array. The total allocated memory size needs
 *		  to be at least: num_blocks * block_size (provided to spdk_dif_ctx_init())
 *		  to be at least: num_blocks * data_block_size.
 * \param dst_iovcnt The size of the destination I/O vectors array.
 * \param src_iovs The source I/O vector array. The total allocated memory size needs
 *		  to be at least: num_blocks * data_block_size.
 *		  to be at least: num_blocks * block_size (including metadata)
 * \param src_iovcnt The size of the source I/O vectors array.
 * \param num_blocks Number of data blocks to process.
 * \param ctx DIF context. Contains the DIF configuration values, including the reference
@@ -852,12 +852,12 @@ int spdk_accel_append_dif_verify(struct spdk_accel_sequence **seq, struct spdk_i
 * \param seq Sequence object.  If NULL, a new sequence object will be created.
 * \param ch I/O channel.
 * \param dst_iovs The destination I/O vector array. The total allocated memory size needs
 *                to be at least: num_blocks * block_size (provided to spdk_dif_ctx_init())
 *                to be at least: num_blocks * data_block_size
 * \param dst_iovcnt The size of the destination I/O vectors array.
 * \param dst_domain Memory domain to which the destination buffers belong.
 * \param dst_domain_ctx Destination buffer domain context.
 * \param src_iovs The source I/O vector array. The total allocated memory size needs
 *                to be at least: num_blocks * data_block_size.
 *                to be at least: num_blocks * block_size (including metadata)
 * \param src_iovcnt The size of the source I/O vectors array.
 * \param src_domain Memory domain to which the source buffers belong.
 * \param src_domain_ctx Source buffer domain context.