dmaengine: idxd: Add descriptor definitions for DIX generate operation
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 3 Mar 2023 21:34:12 +0000 (13:34 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 11:55:25 +0000 (17:25 +0530)
commit12bbc2c2605516e781cd86e3cde9fe1f889b72cc
tree5e992325560d0ea63088de9c411b9173dd8862c4
parent9e410fe3dc9a938bc47f71dff254be7419bd40d2
dmaengine: idxd: Add descriptor definitions for DIX generate operation

The Data Integrity Extension (DIX) generate operation (0x17) computes
the Data Integrity Field (DIF) on the source data and writes only the
computed DIF for each source block to the PI destination address.

Add descriptor definitions for this operation so that user can use
DSA to accelerate DIX generate operation.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230303213413.3357431-3-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/uapi/linux/idxd.h