dmaengine: idxd: Merge definition of dsa_batch_desc into dsa_hw_desc
authorTony Luck <tony.luck@intel.com>
Tue, 10 Mar 2020 22:18:02 +0000 (15:18 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 11 Mar 2020 09:38:52 +0000 (15:08 +0530)
commit7c4a4d088283e02cc04252e88dd08b5cdf54e70f
treea7274423fda8116ac09ddc993f4e7b984ba84d88
parent26cf132de6f79c06025706ddc61e045d591d404d
dmaengine: idxd: Merge definition of dsa_batch_desc into dsa_hw_desc

We don't need a special structure just for batch descriptors. The
layout matches the general form for other descriptors.

Merge the desc_list_addr field into the union of other aliases for
the the third quadword in the structure.

Create a union to alias "xfer_size" with "desc_count".

Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/158387868208.35922.5895104426944263789.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/uapi/linux/idxd.h