raw/ioat: create device on probe and destroy on release
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 2 Jul 2019 14:12:26 +0000 (15:12 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Jul 2019 07:44:23 +0000 (09:44 +0200)
commitabff4333ec20b3fd6cd998523382956881bac842
treed019e5686bb6655dce3ab4b4f8766b3cbe3b20a6
parentf50979dc4cfd92ab857194d4415b6f216641b482
raw/ioat: create device on probe and destroy on release

Add the create/destroy driver functions so that we can actually allocate
a rawdev and destroy it when done. No rawdev API functions are actually
implemented at this point.

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>
doc/guides/rawdevs/ioat_rawdev.rst
drivers/raw/ioat/ioat_rawdev.c
drivers/raw/ioat/rte_ioat_rawdev.h