compress/mlx5: add transformation operations
authorMatan Azrad <matan@nvidia.com>
Wed, 20 Jan 2021 11:29:30 +0000 (11:29 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 27 Jan 2021 19:40:03 +0000 (20:40 +0100)
commit39a2c8715f8f28cf77afca2d785aa5c9d0c94511
tree178e2afa3792920515c03fad2a8c788a41b2951f
parent8619fcd5161b2fffc7fdf2a78ff5fa7bcdc0c4a5
compress/mlx5: add transformation operations

Add support for the next operations:
- private_xform_create
- private_xform_free

The driver transformation structure includes preparations for the next
GGA WQE fields used by the enqueue function: opcode. compress specific
fields (window size, block size and dynamic size) checksum type and
compress type.

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