compress/mlx5: add statistics operations
authorMatan Azrad <matan@nvidia.com>
Wed, 20 Jan 2021 11:29:33 +0000 (11:29 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 27 Jan 2021 19:40:03 +0000 (20:40 +0100)
commitccfd891a50ae2988a3a4980f2ef26d3bed35030d
tree5c27962ae6a85ca9c270aa6fe356412f76246286
parentf8c97babc9f4d0ac5ac0cb8865bcaac035478c45
compress/mlx5: add statistics operations

Add support for the next statistics operations:
- stats_get
- stats_reset

These statistics are counted by the SW data-path.

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