]> www.infradead.org Git - users/hch/misc.git/commit
net/mlx5: Handle memory scheme ODP capabilities
authorMichael Guralnik <michaelgur@nvidia.com>
Mon, 9 Sep 2024 10:05:04 +0000 (13:05 +0300)
committerLeon Romanovsky <leon@kernel.org>
Fri, 13 Sep 2024 05:27:30 +0000 (08:27 +0300)
commit907936b6f4e630718cc31ddea79cc76a3e32080a
treece10967c75e7c58703463c274954a36fc5c0073f
parent6f2487bfafce5e6cd6f89e7238a82012f7b9f5ac
net/mlx5: Handle memory scheme ODP capabilities

When running over new FW that supports the new memory scheme ODP, set
the cap in the FW to signal the FW we are working in the new scheme.

In the memory scheme ODP the per_transport_service capabilities are RO
for the driver so we skip their setting.

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