OSDN Git Service

dmaengine: idxd: add support for configurable max wq xfer size
authorDave Jiang <dave.jiang@intel.com>
Fri, 28 Aug 2020 22:12:10 +0000 (15:12 -0700)
committerVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 07:10:12 +0000 (12:40 +0530)
commitd7aad5550eca50370e3a1471b46281d03af0699e
tree86f2cefe46536f65d9adf8035b11a02f4c8ad3ec
parentb0ef489e2a9cfcb64e4a20f308023afaea9db8d3
dmaengine: idxd: add support for configurable max wq xfer size

Add sysfs attribute max_xfer_size to wq in order to allow the max xfer
size configured on a per wq basis. Add support code to configure
the valid user input on wq enable. This is a performance tuning
parameter.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/159865265404.29141.3049399618578194052.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/ABI/stable/sysfs-driver-dma-idxd
drivers/dma/idxd/device.c
drivers/dma/idxd/idxd.h
drivers/dma/idxd/init.c
drivers/dma/idxd/sysfs.c