Commit 1940e7e4 authored by Krzysztof Sprzaczkowski's avatar Krzysztof Sprzaczkowski Committed by Tomasz Zawadzki
Browse files

accel: Fixed minor issues in comments and output formatting



Modified function descriptions and output formatting in case of errors.

Change-Id: Ia4cb86b088ab5ca15faaaadb75b5b2c4f6ed370b
Signed-off-by: default avatarKrzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23065


Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <smatsumoto@nvidia.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
parent e7a23775
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -420,7 +420,7 @@ _get_task_data_bufs(struct ap_task *task)
				       SPDK_DIF_FLAGS_GUARD_CHECK | SPDK_DIF_FLAGS_APPTAG_CHECK | SPDK_DIF_FLAGS_REFTAG_CHECK,
				       0x123, 0xFFFF, 0x234, 0, 0, &dif_opts);
		if (rc != 0) {
			fprintf(stderr, "Initialization of DIF context failed\n");
			fprintf(stderr, "Initialization of DIF context failed, error (%d)\n", rc);
			return rc;
		}
	}
+2 −2
Original line number Diff line number Diff line
@@ -419,7 +419,7 @@ int spdk_accel_submit_dif_verify(struct spdk_io_channel *ch,
 *		  to be at least: num_blocks * block_size (provided to spdk_dif_ctx_init())
 * \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 * (block_size - md_size)
 *		  to be at least: num_blocks * data_block_size.
 * \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
@@ -473,7 +473,7 @@ int spdk_accel_submit_dif_generate(struct spdk_io_channel *ch,
 *		  to be at least: num_blocks * block_size (provided to spdk_dif_ctx_init())
 * \param dst_iovcnt The size of the destination io vectors array.
 * \param src_iovs The source io vector array. The total allocated memory size needs
 *		  to be at least: num_blocks * block_size_no_md
 *		  to be at least: num_blocks * data_block_size.
 * \param src_iovcnt The size of the source io vectors array.
 * \param num_blocks Number of data blocks to process.
 * \param ctx DIF context. Contains the DIF configuration values, including the reference