]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/irdma: Refactor GEN2 auxiliary driver
authorMustafa Ismail <mustafa.ismail@intel.com>
Wed, 27 Aug 2025 15:25:30 +0000 (10:25 -0500)
committerLeon Romanovsky <leon@kernel.org>
Thu, 18 Sep 2025 08:48:45 +0000 (04:48 -0400)
commit0c2b80cac96e199674de464a4b619bebab3d7761
tree0b50d5c977acc93ea7055fb7fc15a399c953ead6
parent2bd7dd383609f11330814ecc0d3c10b67073a6be
RDMA/irdma: Refactor GEN2 auxiliary driver

Refactor the irdma auxiliary driver and associated interfaces out of main.c
and into a standalone GEN2-specific source file and rename as gen_2 driver.

This is in preparation for adding GEN3 auxiliary drivers. Each HW
generation will have its own gen-specific interface file.

Additionally, move the Address Handle hash table and associated locks
under rf struct. This will allow GEN3 code to migrate to use it easily.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Co-developed-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Link: https://patch.msgid.link/20250827152545.2056-2-tatyana.e.nikolova@intel.com
Tested-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/Makefile
drivers/infiniband/hw/irdma/i40iw_if.c
drivers/infiniband/hw/irdma/icrdma_if.c [new file with mode: 0644]
drivers/infiniband/hw/irdma/main.c
drivers/infiniband/hw/irdma/main.h
drivers/infiniband/hw/irdma/verbs.c