net/mlx5: Expose HW bits for Memory scheme ODP
authorMichael Guralnik <michaelgur@nvidia.com>
Mon, 9 Sep 2024 10:04:58 +0000 (13:04 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 11 Sep 2024 11:56:12 +0000 (14:56 +0300)
commit6cd9171d04cff79abe78c166927ab8563bf95fe5
tree93ba30604ea5f88505466d1e0a7d5063660e0c70
parentcef7dde8836ab09a3bfe96ada4f18ef2496eacc9
net/mlx5: Expose HW bits for Memory scheme ODP

Expose IFC bits to support the new memory scheme on demand paging.
Change the macro reading odp capabilities to be able to read from the
new IFC layout and align the code in upper layers to be compiled.

Signed-off-by: Michael Guralnik <michaelgur@nvidia.com>
Link: https://patch.msgid.link/20240909100504.29797-3-michaelgur@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/odp.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h