Message ID | 1705965781-3235-1-git-send-email-kotaranov@linux.microsoft.com (mailing list archive) |
---|---|
Headers | show |
Series | RDMA/mana_ib: Introduce three helper functions to clean code | expand |
On Mon, 22 Jan 2024 15:22:58 -0800, Konstantin Taranov wrote: > From: Konstantin Taranov <kotaranov@microsoft.com> > > This patchset aims to remove code repetitions in mana_ib > as well as to avoid explicit use of the gdma_dev. > The gdma_dev was either ethernet or IB device depending on > the usage, which was often easy to confuse and misuse. > > [...] Applied, thanks! [1/3] RDMA/mana_ib: introduce mdev_to_gc helper function https://git.kernel.org/rdma/rdma/c/71c8cbfcdc8f1d [2/3] RDMA/mana_ib: introduce mana_ib_get_netdev helper function https://git.kernel.org/rdma/rdma/c/3b73eb3a4acdf5 [3/3] RDMA/mana_ib: introduce mana_ib_install_cq_cb helper function https://git.kernel.org/rdma/rdma/c/2a31c5a7e0d879 Best regards,
From: Konstantin Taranov <kotaranov@microsoft.com> This patchset aims to remove code repetitions in mana_ib as well as to avoid explicit use of the gdma_dev. The gdma_dev was either ethernet or IB device depending on the usage, which was often easy to confuse and misuse. Introduced functions: 1) mdev_to_gc 2) mana_ib_get_netdev 3) mana_ib_install_cq_cb Konstantin Taranov (3): RDMA/mana_ib: introduce mdev_to_gc helper function RDMA/mana_ib: introduce mana_ib_get_netdev helper function RDMA/mana_ib: introduce mana_ib_install_cq_cb helper function drivers/infiniband/hw/mana/cq.c | 25 +++++++- drivers/infiniband/hw/mana/main.c | 40 +++++-------- drivers/infiniband/hw/mana/mana_ib.h | 20 ++++++- drivers/infiniband/hw/mana/mr.c | 13 +--- drivers/infiniband/hw/mana/qp.c | 88 +++++++++------------------- 5 files changed, 84 insertions(+), 102 deletions(-) base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d