From: Fiona Trahe Date: Fri, 13 Jul 2018 02:28:21 +0000 (+0100) Subject: compress/qat: add device start and stop X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d8d380ad1ce9a67725193c647f38c816f692b20e;p=dpdk.git compress/qat: add device start and stop There are no specific actions needed to start/stop a QAT comp device so these are just trivial fns to satisfy the pmd API. Signed-off-by: Fiona Trahe --- diff --git a/drivers/compress/qat/qat_comp_pmd.c b/drivers/compress/qat/qat_comp_pmd.c index 086b6cfd28..1ab5cf74e8 100644 --- a/drivers/compress/qat/qat_comp_pmd.c +++ b/drivers/compress/qat/qat_comp_pmd.c @@ -176,6 +176,17 @@ error_out: return ret; } +int +qat_comp_dev_start(struct rte_compressdev *dev __rte_unused) +{ + return 0; +} + +void +qat_comp_dev_stop(struct rte_compressdev *dev __rte_unused) +{ + +} int qat_comp_dev_close(struct rte_compressdev *dev) diff --git a/drivers/compress/qat/qat_comp_pmd.h b/drivers/compress/qat/qat_comp_pmd.h index f360c2982c..22cbefbc88 100644 --- a/drivers/compress/qat/qat_comp_pmd.h +++ b/drivers/compress/qat/qat_comp_pmd.h @@ -62,5 +62,11 @@ uint16_t qat_comp_pmd_dequeue_op_burst(void *qp, struct rte_comp_op **ops, uint16_t nb_ops); +int +qat_comp_dev_start(struct rte_compressdev *dev __rte_unused); + +void +qat_comp_dev_stop(struct rte_compressdev *dev __rte_unused); + #endif #endif /* _QAT_COMP_PMD_H_ */