compress/mlx5: introduce PMD
authorMatan Azrad <matan@nvidia.com>
Wed, 20 Jan 2021 11:29:26 +0000 (11:29 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 27 Jan 2021 19:40:03 +0000 (20:40 +0100)
commit832a4cf1d11dd24c96200e87600cf3f80e35b305
treefa4837f4e26779cf8c3ffae8f6b662d7f97a7273
parentae5c165b9354fdb20c0fae25a7a061ad77256ce7
compress/mlx5: introduce PMD

Add a new compress PMD for Mellanox devices.

The MLX5 compress driver library provides support for Mellanox
BlueField 2 families of 25/50/100/200 Gb/s adapters.

GGAs (Generic Global Accelerators) are offload engines that can be used
to do memory to memory tasks on data.
These engines are part of the ARM complex of the BlueField 2 chip, and
as such they do not use NIC related resources (e.g. RX/TX bandwidth).
They do share the same PCI and memory bandwidth.

So, using the BlueField 2 device, the compress class operations can be
run in parallel to the net, vdpa, and regex class operations.

This driver is depending on rdma-core like the other mlx5 PMDs, also it
is going to use mlx5 DevX to create HW objects directly by the FW.

Add the probing functions, PCI bus connectivity, HW capabilities checks
and some basic objects preparations.

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
MAINTAINERS
drivers/common/mlx5/mlx5_common.h
drivers/common/mlx5/mlx5_common_pci.c
drivers/common/mlx5/mlx5_common_pci.h
drivers/compress/meson.build
drivers/compress/mlx5/meson.build [new file with mode: 0644]
drivers/compress/mlx5/mlx5_compress.c [new file with mode: 0644]
drivers/compress/mlx5/mlx5_compress_utils.h [new file with mode: 0644]
drivers/compress/mlx5/version.map [new file with mode: 0644]