compress/qat: add create and destroy functions
authorFiona Trahe <fiona.trahe@intel.com>
Fri, 13 Jul 2018 02:28:23 +0000 (03:28 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Jul 2018 23:48:10 +0000 (01:48 +0200)
commitc0c90bc4cade706f9ea271b1235f05f78870fe55
tree0d883bdf1b1b2f950d0d83efbb6a9f8d60593d94
parentedd37ac10d88a57a06941afaf37e0c59b8dd2301
compress/qat: add create and destroy functions

Now that all the device operations are available,
add the functions to create and destroy the pmd.
Called on probe and remove of the qat pci device, these
register the device with the compressdev API
and plug in all the device functionality.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
drivers/common/qat/qat_device.h
drivers/common/qat/qat_qp.c
drivers/common/qat/qat_qp.h
drivers/compress/qat/qat_comp_pmd.c
drivers/compress/qat/qat_comp_pmd.h