raw/ioat: configure idxd devices
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 8 Oct 2020 09:51:25 +0000 (10:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:33:20 +0000 (14:33 +0200)
commit69c4162643e5b4e06c5de12bc02d0f20ce27ffca
tree56bb18020ddac3c14d752729e3825260b951f488
parent389d5197853ccc0b1729dc98b2d869444b27f707
raw/ioat: configure idxd devices

Add configure function for idxd devices, taking the same parameters as the
existing configure function for ioat. The ring_size parameter is used to
compute the maximum number of bursts to be supported by the driver, given
that the hardware works on individual bursts of descriptors at a time.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
drivers/raw/ioat/idxd_pci.c
drivers/raw/ioat/idxd_vdev.c
drivers/raw/ioat/ioat_common.c
drivers/raw/ioat/ioat_private.h
drivers/raw/ioat/rte_ioat_rawdev_fns.h