]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/mana_ib: Add support of mana_ib for RNIC and ETH nic
authorKonstantin Taranov <kotaranov@microsoft.com>
Wed, 7 May 2025 15:59:03 +0000 (08:59 -0700)
committerLeon Romanovsky <leon@kernel.org>
Mon, 12 May 2025 10:44:52 +0000 (06:44 -0400)
commitc390828d4d7b453c21c6fc0787c714db82731093
tree85318cafab122f15d35b4fce70cda2efede71bd4
parentced82fce77e93315239f54caebbc88e263078e31
RDMA/mana_ib: Add support of mana_ib for RNIC and ETH nic

Allow mana_ib to be created over ethernet gdma device and
over rnic gdma device. The HW has two devices with different
capabilities and different use-cases. Initialize required
resources depending on the used gdma device.

Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://patch.msgid.link/1746633545-17653-3-git-send-email-kotaranov@linux.microsoft.com
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mana/device.c
drivers/infiniband/hw/mana/main.c
drivers/infiniband/hw/mana/mana_ib.h