]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/irdma: Add support for V2 HMC resource management scheme
authorVinoth Kumar Chandra Mohan <vinoth.kumar.chandra.mohan@intel.com>
Wed, 27 Aug 2025 15:25:39 +0000 (10:25 -0500)
committerLeon Romanovsky <leon@kernel.org>
Thu, 18 Sep 2025 08:48:45 +0000 (04:48 -0400)
commit419afdd122ea39a0a98401b2688eed0678b67000
treed2030ea27ccb66d3cfef5d5207b00f09110b0744
parent87f413b6c930bec82a3831b499d013d59c83eb19
RDMA/irdma: Add support for V2 HMC resource management scheme

HMC resource initialization is updated to support V1 or V2 approach
based on the FW capability. In the V2 approach, driver receives the
assigned HMC resources count and verifies if it will fit in the given
local memory. If it doesn't fit, the driver load fails.

Signed-off-by: Vinoth Kumar Chandra Mohan <vinoth.kumar.chandra.mohan@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Link: https://patch.msgid.link/20250827152545.2056-11-tatyana.e.nikolova@intel.com
Tested-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/ctrl.c
drivers/infiniband/hw/irdma/defs.h
drivers/infiniband/hw/irdma/type.h