raw/ioat: add device info function
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 2 Jul 2019 14:12:27 +0000 (15:12 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Jul 2019 07:44:28 +0000 (09:44 +0200)
commitb69512dda123642e57f5b62914064e82ecc1ad5d
tree47976b5d5da32a7b288aed2477cb749d87913f31
parentabff4333ec20b3fd6cd998523382956881bac842
raw/ioat: add device info function

Add in the "info_get" function to the driver, to allow us to query the
device. This allows us to have the unit test pick up the presence of
supported hardware or not.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Jiayu Hu <jiayu.hu@intel.com>
Tested-by: Harry van Haaren <harry.van.haaren@intel.com>
app/test/test_rawdev.c
doc/guides/rawdevs/ioat_rawdev.rst
drivers/raw/ioat/ioat_rawdev.c
drivers/raw/ioat/rte_ioat_rawdev.h