]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Expand mkey page size to support 6 bits
authorMichael Guralnik <michaelgur@nvidia.com>
Mon, 9 Sep 2024 10:04:57 +0000 (13:04 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 11 Sep 2024 11:56:07 +0000 (14:56 +0300)
commitcef7dde8836ab09a3bfe96ada4f18ef2496eacc9
tree409b91cecc1eeba64d1675e8cc4e27f17aab816f
parentf4ccc0a2a0c5977540f519588636b5bc81aae2db
net/mlx5: Expand mkey page size to support 6 bits

Protect the usage of the 6th bit with the relevant capability to ensure
we are using the new page sizes with FW that supports the bit extension.

Signed-off-by: Michael Guralnik <michaelgur@nvidia.com>
Link: https://patch.msgid.link/20240909100504.29797-2-michaelgur@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/odp.c
include/linux/mlx5/mlx5_ifc.h