compress/mlx5: add data-path functions
authorMatan Azrad <matan@nvidia.com>
Wed, 20 Jan 2021 11:29:32 +0000 (11:29 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 27 Jan 2021 19:40:03 +0000 (20:40 +0100)
commitf8c97babc9f4d0ac5ac0cb8865bcaac035478c45
tree80def9eb4562a63d34422d46b993d1431ebc063e
parent0165bccdb45f068ef075ef42832122ef2c97b592
compress/mlx5: add data-path functions

Add implementation for the next compress data-path functions:
- dequeue_burst
- enqueue_burst

Add the next operation for starting \ stopping data-path:
- dev_stop
- dev_close

Each compress API enqueued operation is translated to a WQE.
Once WQE is done, the HW sends CQE to the CQ, when SW see the CQE the
operation will be updated and dequeued.

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/compress/mlx5/mlx5_compress.c